Search code examples
apachednslamp

Browser displays IP rather than name


I just built a web page and made it live. The web page was previously accessible by its IP address. I then went to godaddy and made a domain name forward to the IP. The problem is that once I get to the page, the web browser displays the IP rather than the domain name. The customer wants the domain name to display on the page along with the page itself. Most companies want their .com name on the browser bar.

Example: On this page, my browser displays stackoverflow.com/question/ask rather than the Server's ip address.

The web page is served by apache and the server OS is a Bitnami LAMP server.

Any advice? And what else should I do to register and make a domain name function properly?


Solution

  • You need to set up A records, not forwarding records. You can find GoDaddy's help on the subject here: http://help.godaddy.com/article/680#arecs