Apology if this is in the wrong location but this is my first post. I will try and supply as much information as I have before I describe the two issues I am experiencing. I manage a number of domain names but the most recent one I setup with my provider is through cPanel. It had the hosting and email setup for me by default. At that stage if I browsed to the website it went to Index of/ and lists a file called cgi.bin which I believe is the site within cPanel. I decided to host the website for the client on my Windows VM web server (IIS10). I set this up on the server as I have done for several other websites and I created two bindings (1) Type = http, Host Name = mydomainname.com.au, IP Address = All Unassigned, Port 80. (2) Type = http, Host Name = www.mydomainname.com.au, IP Address = All Unassigned, Port 80. I then logged into my cPanel and selected Zone Editor then Manage. The domain name had an A record of mydomainname.com.au with the IP address that was originally setup in my cPanel Hosting. I changed the IP address to that of my VM web server. Using WhatsMyDns.net I checked mydomainname.com.au and its fully propagated to the IP address of my webserver. If I open the browser on my computer and browse to mydomainname.com.au the website displays. I also want the website to display if someone types in www.mydomainname.com.au so I added in a CNAME record for www.mydomainname.com.au and entered the fully qualified domain name of mydomainname.com.au If I check this through WhatsMyDns.net then www.mydomainname.com.au is resolving to mydomainname.com.au. If I open a web browser on my computer and browse to www.mydomainname.com.au the page displays "This site can’t be reached. Check if there is a typo in www.mydomainname.com.au". I thought I might be doing something wrong with the CNAME so I added another CNAME record to see if that works so I added test.mydomainname.com.au and entered the fully qualified domain name of mydomainname.com.au. This also propagates and resolves to my web servers IP address just like the www one does. I added a binding in IIS for the new CNAME test.mydomainname.com.au and when I browse to test.mydomainame.com.au on my computer the website displays without any issues so why, when I browse to www.mydomainname.com.au does it fail with "This site can’t be reached. Check if there is a typo in www.mydomainname.com.au". I have double checked spelling and the bindings on my web server and all is spelt correctly. Is there some special CNAME entry you have to create in cPanel to have your website display when using www. In the past when I wasn't using cPanel I would enter two A records, one for mydomainname.com.au and one for www but I found this different in cPanel as when you enter www it automatically appends it with the domain name. I even tried removing the CNAME record and replacing it with another A record for www.mydomainname.com.au and pointed it to my web servers IP address but that gave the same result so I deleted that and put back the CNAME record I described above. Hopefully someone can point me in the right direction to get this resolved.
Last edited by a moderator: