Report this

What is the reason for this report?

Need my droplet ip stop redirecting to one single domain

Posted on July 30, 2015

Hi, i have some domains configured in my account and vesta cp to manage my sites. Today I needed to test a new website without having domain name set and found that every time i put droplet’s IP it redirects to one of the domains (I presume its because is the first domain in the list).

How can I stop this behaviour?



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.

This question was answered by @saurabh:

This cannot be stopped as there is one default site on the server which is always fetched!

However if you want to actually come out, then, one of the work-around could be that you make a sub-domain like “test.website.com” as default.

This way user will go to this website where you can put a index.html page with a custom message of your liking.

Second way is to simply deny IP based browsing with the help of security rules which can be implemented in the form of .htaccess rules or a web-server module!

Hope this helps!

You can see the comment here.

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.