Help needed. Domain only works with www prefix

Hi, my hosting account is several days old but the SSL certificate is working and domain resolves. But, my site only loads when using the www prefix. My domain without using the www prefix fails. Please see below.

WORKS:
https://www.university-pages.com/

PROBLEM:
https://university-pages.com/
(Erroneously points to ad site)
Ad site appears hosted on AWS with IP of 199.59.243.223 and a CNAME of 11776.BODIS

Hi and welcome to the forum! Try to remove and re-add your domain from the “Addon Domains” section of the Control Panel, then move the website files you uploaded from the htdocs folder to the new one, located under university-pages.com/htdocs, through the Online File Manager or an FTP client. After waiting a while or so (and maybe also clearing your browser and DNS cache), your website will be accessible through non-www as well. You might also need to reinstall the SSL certificate after you did so to make sure it also works with HTTPS.

5 Likes

Thanks, the domain folder was created when the domain was re-added and I have moved the files. Should I delete the original htdocs that was provisioned outside of the domain folder that you mentioned? (See attached image with question mark). Thanks.
file-manger-screenshot

Yes, you can delete it if it is confusing, as any more domains you add to your account will get their own folder.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.