Tag Info

New answers tagged

0

The most robust method to make yourdomain.com or www.yourdomain.com return the 'host not found' error like the screenshots given, (and this works with HostGator), is the following process: Set the CNAME record for www.yourdomain.com to something that definitely is a domain that doesn't have a webserver attached to it, (i.e. a domain that completely doesn't ...


0

If you want the website's email to be functional & website when browsed to show a Not Found page, simply point the A record to a non route able address. MX & other records should not be modified.


0

Without going into the actual mechanism in details, basically the DNS server that resolves the abc.com and xyz.com domains to one IP address that both domains share will give this shared IP address back to the web browser. The web browser then makes an HTTP request to this IP address and eventually reaches the webserver hosting these two (and perhaps many ...


4

Web client, usually a browser, opens a TCP socket to the server. The server software accepts the connection without knowing the specific site requested, and waits for an HTTP request to happen. The client sends the request, mainly composed of HTTP headers. One of these headers is the Host: example.com header, at this point the server is aware of the right ...


9

The simple answer is, the web server software looks at the hostname in the HTTP request and uses that to determine which website to serve. For example, Apache has the NameVirtualHost configuration option which controls this behaviour. You can find a detailed explanation of how this process works in its documentation: ...



Top 50 recent answers are included