Domain name resolves, but address bar shows numeric IP, screwing things up royally...

I set up a site on a hardhathosting VPS, and set up the DNS as well as I could figure out.

Typing the domain name brings me to the site, but then the domain name disappears from the address bar and it shows the numeric IP.  This is really jamming me up because I'm running some non-free apps that require a valid domain name to work; they "call home" and fail authorization because they are reporting rather than

Likely causes?
Who is Participating?
Chris DentConnect With a Mentor PowerShell DeveloperCommented:

I would say look in the web server configuration and any linking within the site. This isn't DNS or name resolution, DNS cannot change the value typed into an address bar in a browser.

Look in apache config for the virtual hosts config, look in hostname in /etc/hostname and finally in /etc/resolv.conf for the right names mapped to ip address.

samriConnect With a Mentor Commented:
i kiinda of agree with chris on the html code or anything within your web apps, that may be hardcoded to IP address.

If this is true, you could either go to that code manually, and fix it with hostname, or try to adjust it to be "dynamic" or relative.. or whatever the terms are.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.