Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Fri Sep 16, 2011 4:07 pm 
Offline
Senior Member

Joined: Mon Aug 31, 2009 2:33 pm
Posts: 78
Location: The OC
the full command is
Code:
/usr/sbin/apache2ctl -S

prefix with
Code:
sudo
if you're running as a normal user.

make sure you're using an upper case S.


Top
   
 Post subject:
PostPosted: Fri Sep 16, 2011 4:17 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
-S worked!
It shows the list of my sites enabled.
I don´t see anything wrong there.


Top
   
 Post subject:
PostPosted: Fri Sep 16, 2011 7:56 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
The server's full hostname wouldn't happen to be "mysite.com", would it? If so, I suspect Apache might be keying off of that and displaying a default page, since the request would be coming in for the server's hostname instead of a virtual site...

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Sep 16, 2011 10:09 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Yes hoopycat,
in /etc/hostname and /etc/hosts it´s mysite.com there.


Top
   
 Post subject:
PostPosted: Sat Sep 17, 2011 7:57 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
It's a long shot, but if that's the only host that isn't working right, try renaming the server to a proper name (i.e. webserver.mysite.com). That might cause Apache to be less confused.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group