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 ...


2

Most websites need the following services: Domain registrar DNS host Web host Mail host While many hosting companies package those together for convenience, all four of those can be separate companies: At your domain registrar, your NS records point to your DNS host. At your DNS host, your A and CNAME records point to your web host. At your DNS host, your ...


1

I know I can do this with a reverse proxy like Cloudflare, but I don't need a reverse proxy necessarily. It would be the DNS service that Cloudflare provides that would allow you to do this, not the "reverse proxy". You can use any 3rd party DNS provider to do what you require (providing they have the necessary flexibility in their control panel). ...


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>


Only top voted, non community-wiki answers of a minimum length are eligible