Answer the question
In order to leave comments, you need to log in
How to create subdomain for site copy on ubuntu 14 + apache?
There is a website site.net.
You need to create a copy of the site on dev.site.net.
pachectl -S
VirtualHost configuration:
*:80 is a NameVirtualHost
default server dev.locations-vacances-particuliers.com (/etc/apache2/sites-enabled/devlocationsvacancesparticuliers.conf:1)
port 80 namevhost dev.locations-vacances-particuliers.com (/etc/apache2/sites-enabled/devlocationsvacancesparticuliers.conf:1)
alias www.dev.locations-vacances-particuliers.com
port 80 namevhost lemoulinvollach.com (/etc/apache2/sites-enabled/lemoulinvollach.conf:1)
alias www.lemoulinvollach.com
port 80 namevhost locations-vacances-particuliers.com (/etc/apache2/sites-enabled/locationsvacancesparticuliers.conf:1)
alias www.locations-vacances-particuliers.com
port 80 namevhost location-vacances-vista.com (/etc/apache2/sites-enabled/locationvacancesvista.conf:1)
alias www.location-vacances-vista.com
port 80 namevhost villamenerbellec.com (/etc/apache2/sites-enabled/villamenerbellec.conf:1)
alias www.villamenerbellec.com
host dev.locations-vacances-particuliers.com
Host dev.locations-vacances-particuliers.com not found: 3(NXDOMAIN)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question