New answers tagged

1

Generally, it's not a good idea to share content between a live site and its staging installation. A staging copy should be isolated, precisely to avoid messing up anything on the production installation. On top of that, adding content on the staging copy would properly test those execution paths and create a consistent database—but this can be scaled only ...


0

Selective mirroring of an external site can be achieved with a "reverse proxy". It is pretty easy to set up a reverse proxy that serves local files and proxies them if they don't exist. You can use either nginx or Apache servers to do this. Apache Put this in the /assets/.htaccess on the staging server: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !...


2

There is absolutely no need for a mail server to be on the same machine, in the same building, or even located in the same country as the web server. In your DNS records you will see MX records, which will indicate the hostname of your mail server. Typically, most people would set this as a sub of their own domain (i.e. mail.example.com) and create an A ...


Top 50 recent answers are included