Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to prevent somebody's domain from pointing to my droplet?
I have recently moved my site from shared hosting to the Digital ocean. And believe or not it was a tough step for me as I don’t have deep knowledge about the server configuration.
After two months, everything is going well so far, but recently, I have started to face a security issue.
Someone has pointed their domain to my IP. I.e domain.com is also accessible from freedomain.com. I have got to know about the cause and it pretty much hurting my page ranking. My issue is something like this
Can anybody suggest how to deal with this?
PS: I can’t try this How to Rewrite URLs with mod_rewrite for Apache on Ubuntu 18.04
My server configuration:
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.×