Baba
Baba

Reputation: 2229

Invalid website error message while spinning up a kentico11 site

I am going through the kentico11 developer essential training and the first requirement is to setup a kentico11 site. I followed the instructions and when done this is all I get

Error Message:

Either the website is stopped or the requested domain name is not configured for any website: http://localhost/Kentico11/CMSMessages/invalidwebsite.aspx If you're an administrator of this site, you need to go to Sites and make sure the following domain name is configured either in the site properties or a domain alias of a running web site: localhost

How do I proceed? I applied the license in the training package

Upvotes: 0

Views: 637

Answers (1)

Michael419
Michael419

Reputation: 101

Once you have added the license for the domain you are using to run the site, you need to add the domain to the Site domain name field in the Sites application in Kentico.

  1. Open the Sites application.
  2. Edit (pencil icon) the site.
  3. Type the domain into the Site domain name property on the General tab - since you are running the site under localhost, simply add localhost to the field.
  4. Click Save.

Now when you visit the homepage, the error message should no longer appear.

Documentation reference: https://docs.xperience.io/k11/configuring-kentico/managing-sites/setting-domain-names-for-sites

Upvotes: 0

Related Questions