I have a VDS server and an dedicated IP address. the question is how to add multiple sites in a single domain?
For example I have 3 sites as below:
- www.company.co
- www.webdesign.com
- www.inet.com
|
I have a VDS server and an dedicated IP address. the question is how to add multiple sites in a single domain?
|
|||
|
|
|
This is a good tutorial on hosting multiple websites with apache2, note the use of a2ensite command over creating symlinks |
|||
|
|
|
In 000-default (usually in /etc/apache2/sites-enabled/000-default) You can use the VirtualHost tag to separate different sites.
|
|||
|
|