Hi,
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.
Currently, I am using .htaccess rewrite rule to redirect visitors to my domain. (https://nixtree.com/blog/how-to-stop-other-domain-name-point-to-your-ip/)
What else can we do about it? Why are they want to point domain name to other site?
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?