Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

SubDomain help


Reply

4 Posts   1449 Views

Avatar
pbtaz

3 September 2008 at 6:01am Community Member, 2 Posts

Created this subdomain on my hostgator server
travel-usa.airportbyappointment.com plus placed in in the behavior tab for home page, saved and published, but cannot access home with that and receievede this 404 not found URL /TRAVEL-USA/sapphire/main.php was not found on this server

address only access is through folder option airportbyappointment.com/travel-usa

any help please?????

Avatar
ajshort

3 September 2008 at 9:53am Community Member, 244 Posts

Hey there pbtaz,

In order for SilverStripe to run correctly with subdomains, youll need to make sure that all the domains point to the same wwwroot - that is, both airportbyappointment AND travel-usa.airportbyappointment.com should have their wwwroot set to where you installed SilverStripe.

Avatar
pbtaz

3 September 2008 at 11:13am Community Member, 2 Posts

both airportbyappointment AND travel-usa.airportbyappointment.com should have their wwwroot set to where you installed SilverStripe.

Thanks ajshort so I gues you mean that I need to install SS to Root then change behavior to travel.airportbyappointment.com, is that the cure?

Avatar
ajshort

3 September 2008 at 4:07pm Community Member, 244 Posts

Well, you can just leave your existing installation in place. Just make sure that all domains you want to run off it point to this location for the document root. Otherwise youll get a 404 like that when it tries to load sapphire/main.php from a different directory.