You need all the domain's dns set up correctly on the server. Then you need to set up a document root section for each site name. Ideally set up an include directory for this, most Apache distributions have a vhosts directory for this already. Then put one file with document root details for each host into the vhosts directory.
Wednesday, November 17, 2010
How do you change what website you host with apache?
I use apache to host my website but I have many different ones and can only host one at a time.How do you change what website you host with apache?
You need all the domain's dns set up correctly on the server. Then you need to set up a document root section for each site name. Ideally set up an include directory for this, most Apache distributions have a vhosts directory for this already. Then put one file with document root details for each host into the vhosts directory.Cats fish
You need all the domain's dns set up correctly on the server. Then you need to set up a document root section for each site name. Ideally set up an include directory for this, most Apache distributions have a vhosts directory for this already. Then put one file with document root details for each host into the vhosts directory.
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment