New answers tagged

1

Edit your .htaccess file and rewrite the rule to return "Gone" status for any url that's not yourdomain.com <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^yourdomain.com$ [NC] RewriteRule ^ - [G] </IfModule>


2

In order for two servers to share the exact same domain (www.example.com) and your website to work properly the two servers would need to be a mirror of eachother in terms of content and functionality, ideally linked to the same databases and storage behind the scenes since the same user may access either server within the same session. This would be setup ...


Top 50 recent answers are included