The primary requisites for
Linux server configurations to host a website are :
1. Apache web server to serve the web pages,
2. FTP server which is necessary for the users to upload their content and
3. DNS server to resolve the domain names to enable any URL entered on your browser to point to your web server and respond with the correct pages.
Use HTTP configuration tool > Click on Virtual Hosts and configure default settings and > then configure the default virtual host. If you need more than one URL you can add more virtual hosts. Configure the setting under the Server tab. Then configure the Performance tuning tab. Copy all the necessary files to the Document Root and cgi-bin directives. Exit from the settings and save the settings.
Apache server can be configured to run as a host for a single website or can be configured to server multiple domains. This can be done in two ways :
1] as virtual hosts with one IP address serving multiple domains i.e. “Name based” virtual hosting.
2] multiple IP-based virtual hosts i.e. individual IP address for each domain “IP based” virtual hosting.