Report this

What is the reason for this report?

IP address of droplet still points to removed virtual host file.

Posted on December 4, 2016

The IP address of my droplet still points to a domain (was a redirection), I already removed (a couple of days ago) that .conf file. I reloaded and restarted the apache2 service, but still my IP points to that certain domain. I looked at the default .conf and other files but I can’t find any answer, why it’s still doing that redirection.

Thanks in advance.



This textbox defaults to using Markdown to format your 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.

What do you mean? Does your domain redirects to an IP? Did you disable the config file? Please be more specific and post files.

Try checcking if the site is still enabled in the /etc/apache2/sites-enabled directory. You can do that by

ls /etc/apache2/sites-enabled

If the site is still enabled, delete it:

sudo rm /etc/apache2/sites-enabled/site.conf

Then reload Apache:

sudo service apache2 reload

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.