New answers tagged

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


2

I've been apprised that the DNS entries above won't work because you can't CNAME a naked domain to a subdomain. Is that correct? Yes, as stated in comments, you can't create a CNAME record on the domain apex, ie. example.com. Trying to do so can cause problems later. You would typically do this the other way round. For example: example.com. A 14400 ...


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>


1

Google only specifies what happens when the connection is not used because the HTTP specs already have information how connections should stay open when they are used. If a connection is used, it is up to the server to keep the connection open so that it can be used again. This is known as "HTTP Keep Alive". For example my Apache server comes with this ...


2

You have a misconception about what DNS can do. You say, "I know I can redirect all subdomains ... using a wildcard DNS record." However, DNS can't do redirects at all. All DNS can do is point your domain (or subdomains) to the IP address of a server. Even if you use a CNAME record, DNS doesn't redirect. A CNAME just means that the domain resolves to ...


Top 50 recent answers are included