Hi, I am creating a Django project. I've linked this to 'mysite.com/foo'. The first application I have enabled is the admin site. I left the admin at the default url, '^admin/'. Now, when I visit the admin page for my new site/project here:
I get redirected to:
...and that URI yielded "Not Found".
Since I couldn't get the admin page working by linking my new project with a URI, I decided to create a subdomain for my site: 'foo.mysite.com'. My thinking is, I won't have to worry about redirects or root URIs getting in the way. Unfortunately, when I visit 'foo.mysite.com' it can't be found. And when I visit 'foo.mysite.com/admin' it can't be found either.
asked Feb 04 '12 at 14:27
If you want to serve your app on a sub-path like mysite.com/foo, then you'll set
If you want to use a subdomain, then it should just work, provided that the subdomain is valid. If your domain uses WebFaction's DNS servers, then the subdomain should begin working a few minutes after you assign it to your site in the control panel (it could take longer, it just depends on how long it takes for your resolving DNS servers to pick it up). If your domain does not use WebFaction's DNS servers, then you'll need to create the subdomain and corresponding A record via your domain registrar's control panel (in addition to creating it in WebFaction's control panel).
Hope that helps!
answered Feb 04 '12 at 15:37