LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-13-2009, 05:47 AM   #1
atomiccomp
Member
 
Registered: Dec 2008
Location: UK
Distribution: Debian/Ubuntu
Posts: 41

Rep: Reputation: 0
Smile 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.
 
Old 05-13-2009, 10:17 AM   #2
*******
Member
 
Registered: Feb 2009
Posts: 63

Rep: Reputation: 16
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'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Virtual Host Problems with Tomcat 6 on Fedora 6 madhavr Linux - Server 2 05-08-2007 05:13 AM
Apache Virtual Hosting Problems ada601 Linux - General 1 09-17-2004 02:10 PM
Apache virtual host problems Baltasar Linux - Software 8 07-22-2004 07:58 PM
Having Problems With Apache 2 And Multiple Virtual Hosts hegele Linux - Software 0 02-18-2004 04:02 PM
Apache virtual host problems.. Swene Linux - Networking 0 05-02-2002 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration