How To Re-Do Domain Name On Apache Server
Need to know how to re-do domain name on Apache Server? This article will step you through the way to re-do the process of setting up the domain name on the Apache server. Apache uses name-based virtual hosting which is a new form of virtual hosting based on requirements of HTTP. Instead of requiring that each virtual host have its own IP address, many domain names are multiplexed over a single IP address. This greatly simplifies the network configuration and eliminates the need for multiple interfaces in hardware or software.
- Name based virtual hosting. Name-based hosting absolves the server administrator of the need to reconfigure the network settings of the server. The domain names that it must respond to still have to be entered into the DNS configuration of the network name servers or else clients won't be able to reach the virtual hosts.
- Server names and aliases. The key to name-based virtual hosts is the serverName directive. A host can have as many aliases as it wants. There is no limit. In the serverName directive, you can change the domain name. After you have changed the name, you will want to restart the Apache server. Remember that the name that the server will use in HTTP responses will come in the form of www.my-domain.com. A common misconception is that the server name is what Apache responds to. This isn't correct; Apache will respond to any connection request on any network interface and port number to which it's configured to listen.