WebFaction
Community site: login faq

I am running 2 websites (separate Django projects attached to different subdomains) from the same Django instance. A couple of times recently, I've found that requests to one subdomain have been served by the other subdomain's corresponding Django project, resulting in 404s (since the latter site doesn't have content for these URLs). An Apache restart corrects the problem.

Has anyone else had this issue? Is this a WebFaction bug or a configuration error?

I should add that I've been running these sites from the same Django instance for the past few years and encountered this issue for the first time a week ago.

asked 30 Apr '11, 07:02

sevennineteen
1123
accept rate: 0%

I know we had another user report this not too long ago but I can't seem to find the support ticket. I'll keep looking for it.

If I remember correctly, their specific issue was that all requests would be served from the last project set up in their httpd.conf file.

With your problem, are the incoming requests "switched" or are they just being served from a single project?

(30 Apr '11, 07:22) David L ♦♦

The two times it has happened, both sites would be served from the same project. However, the "active" project was different in each case, so I'm not sure it's tied to the http.conf, as I haven't changed this.

Thanks!

(01 May '11, 07:44) sevennineteen
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×910
×76

question asked: 30 Apr '11, 07:02

question was seen: 3,311 times

last updated: 01 May '11, 07:44

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM