i'm trying to add a new domain to my server which is running debian and apache2. How exactly should i go about adding the domain? Through the sites-enabled/available? and if so how do i do it
thanks
|
i'm trying to add a new domain to my server which is running debian and apache2. How exactly should i go about adding the domain? Through the sites-enabled/available? and if so how do i do it thanks
| |||
|
feedback
|
|
In Debian virtual hosts are enabled by default, so after you have configured your dns drop a file named as you like (e.g. site.example.org) in /etc/apache2/sites-available with this content
Then as root run the command If something goes wrong review your config with | |||
|
feedback
|