sdms2023

Registered
Aug 18, 2023
3
0
1
Perth Western Australia
cPanel Access Level
Website Owner
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:

sdms2023

Registered
Aug 18, 2023
3
0
1
Perth Western Australia
cPanel Access Level
Website Owner
Update: if i browse to www.mydomainname.com.au on one of my computers I get "This site can’t be reached. Check if there is a typo in www.mydomainname.com.au" . If I use our mobile phone at home with wifi I get the same "This site can’t be reached. Safari could open the page" . If I turn off WiFi on the mobile phone and use data the website for www.mydomainname.com.au displays without issue. Why would browsing to this website fail when doing in on our two desktop computers as I have never come across anything like this before. If I open a cmd prompt and type in ping www.mydomainname.com.au I get ping request could not find www.mydomainname.com.au Please check the name and try again.
 
Last edited:

sdms2023

Registered
Aug 18, 2023
3
0
1
Perth Western Australia
cPanel Access Level
Website Owner
This morning I start up my computer and browse to www.mydomainname.com.au and the website comes up without getting that error page "This site can’t be reached. Check if there is a typo in www.mydomainname.com.au". The only thing I can think of is that something within my internal network has cleared. Yesterday I had manually cleared all of my caches for all browsers and done several ipconfig dns flushes but that made no difference. So this morning I applied an SSL certificate to the website on my web server and I am now browsing to https://www.mydomainname.com.au and https://mydomainname.com.au on my desktop without any issues. If anyone has any thoughts as to why I couldn't get to the website on my own desktop computers yesterday, please let me know.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,520
2,607
363
cPanel Access Level
Root Administrator
Hey there! This sounds like classic DNS propagation. Since you made the change, all the other DNS servers in the world have to pick up that change before it will be live, which also explains why it could work from some networks and not others. This all seems like completely normal behavior to me.