Host multiple domains with Apache on a VPS

Posted by Kunal on Server Fault See other posts from Server Fault or by Kunal
Published on 2011-01-10T19:39:31Z Indexed on 2011/01/12 14:55 UTC
Read the original article Hit count: 271

Filed under:
|
|
|
|

Hi

I have recently bought a windows VPS and installed apache, mysql using xampp. All services are running fine. I can access the hosted site using the IP of VPS but what I need to do is host multiple domains on that server.

Actually my requirement was to use htaccess on a php based site but the site had to access data from ms sql server as well. So needed to enable php_mssql.dll in the php.ini which no shared hosting was supporting. Had to go for this VPS.

Plesk was installed by default but as htaccess wont work with IIS, I had to stop IIS service and install apache there. Now all is well, but I need to find a way to host multiple domains there.

When I bought the VPS they hosting people sent me the dedicated IP of the server and also I have the 2 name servers required to host domains. What is the next step? Exactly which file I need to modify to get things done? Please help!

Any kind of help is much appreciated. Thanks in advance for all of your kind help and time.

© Server Fault or respective owner

Related posts about php

Related posts about Windows