Site not running with www

Ashutosh Pandey asked on April 2, 2019 05:31

Hi, we just moved our site to production and we have an issue.

Site works with: techdogs.com

but not with: wwww.techdogs.com

What we have to do?

Correct Answer

Juraj Ondrus answered on April 2, 2019 07:44

The www prefix is not required in the Site Domain name setting. You should check your IIS bindings and make sure both versions are set for your web site in the IIS.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on April 2, 2019 05:56

In the Sites app make sure if you want the site to use www to set the domain to www.techdocs.com. Then add an alias without the www.

Next go to the Settings app and URLs & SEO and find the drop-down and select always use domain with www. This and the other settings will ways force the site to use www in front of the domain even when a user comes without the www. If you don't want to force www then remove that selection (not recommended to have both from Google).

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on April 2, 2019 09:40

I see they both work now, don't forget Brenden's last note about forcing one or the other. As from a SEO perspective having both isn't recommended.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 2, 2019 22:57

Although binding could be the resolution, if you want your site to display with www in front, then you need to have the site's domain set as www.techdogs.com and add an alias for techdogs.com, then force the site (in settings) to always use www as a prefix for the URL.

If you dont' want www as a prefix, set the site's domain to techdogs.com, then add an alias for www.techdogs.com, then force the site (in settings) to always NOT use www as a prefix for the URL.

IIS can handle a lot of this but if you have a simple binding on your server of * for port 80, then you need the above settings I outlined.

Just an FYI, your site isn't forcing the user one way or the other, it is displaying www.techdogs.com and techdogs.com as I mentioned not good for SEO as Google sees them as 2 different sites with the same content.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.