• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

IP number shows instead of name for webpage

DougK62

Diamond Member
My company hosts a webpage. We type in http://www.xyz.com to go there, but once it connects to our server it switches to http://XXX.XXX.XXX.XXX, which is the computer's IP number. Then all pages accessed under that webpage show as http://XXX.XXX.XXX.XXX/page.htm. I just noticed this and it doesn't look very elegant. When people type in http://www.xyz.com to get to our webpage I want it to stay as xyz.com and not switch over to the IP number. I'm assuming this can be done with my local DNS server, but I'm at a loss as to what to do. Help? Thanks.

:heart::beer:

 
Originally posted by: DougK62
Originally posted by: n0cmonkey
ServerName www.xyz.com

I'm sorry, but I don't quite understand. Is that a type of DNS record that I need to add?

Thanks.

Add that to your httpd.conf ig you are using Apache. If you are using another httpd, someone else will have to assist you 🙂
 
Is that the LAN Ip that it defaults to, or the WAN IP?
Doe it do this on the wan side too, if you try to get to it from home, for example?
 
Originally posted by: skyking
Is that the LAN Ip that it defaults to, or the WAN IP?
Doe it do this on the wan side too, if you try to get to it from home, for example?

Thanks for the reply. This is the WAN address that it defaults to. This happens from anywhere outside of the LAN. We access the webpage different when insde the LAN.

I just went and looked up our information for our domain name from where we registered it at and it's setup to just forward requests for our domain to our IP. This seems to be the problem. My domain name is setup to "forward to http://XXX.XXX.XXX.XXX". So, how would I fix this? Do I need to have my domain name people point to my server for DNS information?

Thanks.

 
It should not be set to forward, it should have a dns pointer, "xyz.com, 123.456.789" , and a forward, "www.xyz.com, xyz.com"
Your server needs to have the servername set somewhere, as others have pointed out.
Unhappycamper is familiar with the windows servers, see if you can get his input.🙂
 
Back
Top