Knowledgebase

Virtual Domain?

Posted by GeXus, 05-02-2007, 09:07 PM
I have a few hundred domains that I would like to set as "parked" domains on my server, so basically all domains will point to the same http folder (or the same index.php file). I'm using apache, would this be a matter of setting up virtual hosts? Any idea how I would do this... thanks!

Posted by ISPserver, 05-02-2007, 09:33 PM
If all domain have same dir. You can create one virtualhost and set ServerAlias directive for all other domain.

Posted by lauryndav, 05-03-2007, 06:19 AM
Yes, its very simple. There is a virtual host entry for your main domain. Inside that virtual hist add the statement "ServerAlias yourparkdomaindotcom wwwdotyourparkdomaindotcom" . Thats all you need to do.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
scp issue (Views: 537)


Language:

Client Login

Email

Password

Remember Me

Search