Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » SubDomain help

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

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

Page: 1
Go to End
Author Topic: 1442 Views
  • pbtaz
    Avatar
    Community Member
    2 Posts

    SubDomain help Link to this post

    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?????

  • ajshort
    Avatar
    Community Member
    244 Posts

    Re: SubDomain help Link to this post

    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.

  • pbtaz
    Avatar
    Community Member
    2 Posts

    Re: SubDomain help Link to this post

    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?

  • ajshort
    Avatar
    Community Member
    244 Posts

    Re: SubDomain help Link to this post

    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.

    1442 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.