Home > AI > Server > Apache >

VirtualHost


<VirtualHost 127.0.0.1:80>
    ServerName ip-72-167-39-37.ip.secureserver.net
    DocumentRoot /var/www/html
    ServerAdmin limindeng92@gmail.com
    # Global DCV Rewrite Exclude
    <IfModule rewrite_module>
    RewriteOptions Inherit
    </IfModule>


    <Directory "/var/www/html">
      AllowOverride All
    </Directory>


    <IfModule suphp_module>
        suPHP_UserGroup nobody nobody
    </IfModule>

</VirtualHost>
stepprocess organizaion
input domain on browser
check cache1) The browser’s local cache

2) The operating system’s cache

3) The router is checked for the record.

4) Lastly, the query is sent to the Internet Service Provider (ISP) for it to check its cache.
server hierarchyroot server
returns the IP address of the relevant top level domain server
root server
The top level domain server
returns the IP address of nameserver.
top level domain server
.com / .net / …
nameserver contains the DNS record of the server we are looking for and returns the IP address of the domainnameserver on hosting company
Apacheconfig

Leave a Reply