Jump to:

22976 Posts in 11493 Topics by 2824 members

General Questions

SilverStripe Forums » General Questions » [SOLVED] Subdomains and subsites - Server issue

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 519 Views
  • Harley
    Avatar
    Community Member
    153 Posts

    [SOLVED] Subdomains and subsites - Server issue Link to this post

    Hi there,

    I've recently started a site in SS2.4.7 using the subsites module, works fine on my localhost however trying to get it to work on my Mediatemple Grid Service is proving difficult. I can set up subdomains on my server which creates a folder for me automatically, however I am informed by mediatemple that they need an index.htm in there for it to work. I'm a bit hazey on how all this stuff works anyway, my knowledge on the subject is only basic. I'm assuming there is something I can do with .htaccess to define other urls but there also must be a setting on the server which is overiding everything which is why my subdomains get a 403 Forbidden.

    Has anyone else had any experience of using subdomains in Silverstripe?

    Regards

    Harley

  • Harley
    Avatar
    Community Member
    153 Posts

    Re: [SOLVED] Subdomains and subsites - Server issue Link to this post

    Hi,

    An update to what I've written already.

    I contacted Mediatemple who said that the server is not configured for what I am describing. Their advice was to create a folder with the subdomain name, a folder inside there named "html" and inside that an index.htm or index.php file. This does work for individual files I want to upload but of course the result I want is for Silverstripe to dynamically take care of this for me.

    The thing is I'm not that savy with knowledge of servers. What should I be asking them to make them understand how the subsites module in Silverstripe works? Is it something as simple as utilising the htaccess file?

    Any help would be hugely appreciated

    Regards

  • mt_Drew
    Avatar
    Community Member
    1 Post

    Re: [SOLVED] Subdomains and subsites - Server issue Link to this post

    Hey Harley,

    I see you contacted (mt) Media Temple customer support already and they were able to help you out a little bit with your issue. I wish I can answer your specific issue for you and get it fixed but unfortunately we are not trained in SilverStripe. However, I have done a bit of research and found a previous forum post with what looks like a similar issue. The person who posted it was on a (dv) Dedicated-Virtual Server. I am including the link below.

    http://www.silverstripe.org/all-other-modules/show/8208

    Along the way, if you have any questions (mt) Media Temple can answer, we are available 24/7. Also, keep in mind you can always hit us up on Twitter 24/7 for quicker issues. @MediaTemple

    Drew J
    (mt) Media Temple
    @MediaTemple

  • Harley
    Avatar
    Community Member
    153 Posts

    Re: [SOLVED] Subdomains and subsites - Server issue Link to this post

    I think the issue could have been that I had set up subdomains on the server when testing the server prior to trying with silverstripe. The Silverstripe method works fine I think, perhaps the issue was that it was just playing catch up which is why even after deleting dns zones on the server the sites still gave me a 403 error. Persist with time and these things sometimes sort themselves out.

    Thanks for the reply though Drew and thanks to mediatemple for the speedy responses and their support.

    Regards

    519 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.