Showing IP address in Address bar and not Domain Name

  • Posted October 9, 2013

Hi Friends,

I created a droplet and updated the A record with the IP address at my Domain controller.

I do not want to switch the name server as my emails are running there only want the website to be runn on droplet.

Update was done and not website is showing IP address in address bar and not Domain name.

I have another droplet as well where i updated Name servers and there is not issue but in this case its not working.

In DNS on Digital Ocean

I have A Record @ to point to IP address

A @

I also created one more A record - IP address

and Created CNAME like

www - @

    • @

This is still showing IP address. Please help on this. This is really URGENT.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I tried this but its not working for me, I am experiencing the same issue

^^ Extending on Pablo’s comment with something simple: <br>Use <br><pre><code>nano /etc/apache2/sites-enabled/default</code></pre> <br>to edit the default website file.

Check the contents of Apache’s <code>sites-enabled</code> folder, i.e.<pre>ls /etc/apache2/sites-enabled</pre> <br> <br>Then look to see what’s listed as the <code>ServerName</code> and <code>ServerAlias</code>, i.e. <pre>cat /etc/apache2/sites-enabled/[file]</pre>

Hi Pablo, <br> <br>I am using ubantu and with Ready made LAMP stack in digital ocean. <br> <br>Thanks, <br>Avdhesh

What (i) OS and (ii) web server are you using?

Please some one Help on this.