By CarenZ
Hi, There is a domain that is not my property, “digitalbellies.com”, performing a redirect on my domain “vrwebsolutions”. I saw through Whois pointing to my nameserver.
So if I go on “digitalbellies.com” I view the same content as “vrwebsolutions.com”
How do I block and avoid all this?
regards,
CarenZ.
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!
Your website has been clickjacked by another user. To make sure your website is click jacked open the website in google chrome and press F12 to open developer tools and you could iframe enabled for your website. Add the below apache config .
Header always append X-Frame-Options DENY
Hey Caren,
Here is a tutorial that talks about how to create a redirect.
You could place a .htaccess file in the main web directory which is usually /var/ww/html/ by default. You would place the following lines in that file:
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(www\.)? digitalbellies\.com [NC]
RewriteRule (.*) - [F]
If you’re using Ubuntu, you’d want to also make sure that mod_rewrite is enabled by running a2enmod rewrite. If you did need to enable mod_rewrite, you would need to restart Apache for thta to take effect - service apache2 restart
Happy coding,
Jon Schwenn Platform Support Specialist DigitalOcean
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.