LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   APACHE 2 problems with virtual sites (https://www.linuxquestions.org/questions/linux-software-2/apache-2-problems-with-virtual-sites-725659/)

atomiccomp 05-13-2009 05:47 AM

APACHE 2 problems with virtual sites
 
Hi Guys,
I am having problems with adding virtual sites, I have added the sites into sites-available and run the command a2ensite www.webname.com
and it simply says this site does not exist!
The sites are in the correct folders but still it does not work.

I did this last week for my previous site and I had this issue, but I don't remember how I resolved it!

anyhelp would be appreciated.

******* 05-13-2009 10:17 AM

If you run 'a2ensite www.webname.com' then your config is supposed to be named /etc/apache2/sites-available/www.webname.com, so if you have /etc/apache2/sites-available/webname then run 'a2ensite webname'.


All times are GMT -5. The time now is 04:52 AM.