Other domain name pointing to my droplet IP address


I found that a domain name (Domain A) is pointing to my droplet’s IP address. I only have one website hosted on the droplet.

  • Visitors to my website will load the same content via Domain A, instead of my domain.
  • Visit Domain A will load the full content of my website.

Currently, I am using .htaccess rewrite rule to redirect visitors to my domain. (

What else can we do about it? Why are they want to point domain name to other site?


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.

Do you own the domain that is redirected to your ip? Whats inside your .htaccess file? exactly as explained in the link? And if you have that htaccess file, whats the problem then if the domains are being redirected to the proper domain?

You can create a VHOST with a default server option, so that it gets redirected or gets on a page different than your site. What do you have in your VHOST right now?