Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Dec 10, 2010 11:50 am 
Offline
Senior Newbie

Joined: Fri Dec 10, 2010 11:39 am
Posts: 7
Location: United States
I'm a beginner and I need help configuring Apache so that I can see my application. Not sure if it's Apache, Django, mod_wsgi or....I've issued apache2ctl -t and got "Syntax OK". I also issued apache2ctl -S and didn't get any errors. But now all I have at my IP address is page not found (it showed something in the beginning so I've done something different)

One one question, do I go to my ip address to see if the site is configure correctly? I haven't pointed our domain name to linode servers yet so I can't put in the actual domain name yet. Is this issue? I thought I could still test my site without doing that, correct me if I'm wrong.

I've been through the docs over at http://library.linode.com/web-servers/a ... ganization and http://library.linode.com/frameworks/dj ... s_for_wsgi already.

Any help in getting some of these things fixed would be greatly appreciated.

thanks,
j.


Top
   
 Post subject:
PostPosted: Fri Dec 10, 2010 12:18 pm 
Offline
Senior Member

Joined: Mon Oct 27, 2008 10:24 am
Posts: 173
Website: http://www.worshiproot.com
You can use a hosts file to make your local system use the domain name, rather than the ip address. This is useful for testing name-based virtualhosts. If the virtualhost you've configured for the wsgi app isn't listening on the IP address, then you'll have to do that to test it.

http://en.wikipedia.org/wiki/Hosts_(file)


Top
   
PostPosted: Fri Dec 10, 2010 12:53 pm 
Offline
Senior Newbie

Joined: Fri Dec 10, 2010 11:39 am
Posts: 7
Location: United States
"If the virtualhost you've configured for the wsgi app isn't listening on the IP address, then you'll have to do that to test it" I think that's the first problem I need to fix. Earlier I was getting a web page for my ip address, not all I get is "Unable to connect" which tells me that something configured wrong. Maybe I need to test if Apache is configured correctly first, then wsgi, then my application...going to be a long weekend. :)

thanks,
j


Top
   
 Post subject:
PostPosted: Mon Dec 13, 2010 10:51 pm 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:45 pm
Posts: 63
FYI there is a StackScript for the Django stack you are describing. Should get you up and working quickly if you haven't figured out your problem.

http://www.linode.com/stackscripts/view ... riptID=131


Top
   
 Post subject:
PostPosted: Mon Dec 13, 2010 11:19 pm 
Offline
Senior Newbie

Joined: Fri Dec 10, 2010 11:39 am
Posts: 7
Location: United States
@iml Wow, didn't even see that. :shock: Thank you for showing me this. I really do appreciate it. I'll try this out and see if this helps.

Thanks again,
J.


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


Who is online

Users browsing this forum: No registered users and 2 guests


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