17488 Posts in 4473 Topics by 1978 members
| Go to End | ||
| Author | Topic: | 5795 Views |
-
Re: Try to understand the background of the subsites module

11 November 2008 at 2:30am Last edited: 11 November 2008 2:32am
ewonde, I found your post very helpful in getting subsites installed. Here are the steps I've taken so far.
Now that I have the subsites module installed, I can add subdomains, and can add pages to those subdomains in the CMS. Great!
But... I don't understand how to visit those pages. I know it should be something like:
http://subdomain1.localhost
http://subdomain2.localhostI have silverstripe installed in my home www directory. In my case I visit the main site by going to:
http://localhost/~username/silverstripe/
What address should I be using to view the subsites?
Many Thanks,
Barry
-
Re: Try to understand the background of the subsites module

13 November 2008 at 8:31pm
It turns out that by default Silverstripe doesn't resolve addresses of the form:
http://subdomain1.localhost/~username
Once I installed Silverstripe in my main apache Documents folder I could visit the subsites no problem. Well... once I added entries in my /etc/hosts file:
127.0.0.1 subdomain1.localhost
127.0.0.1 subdomain2.localhost -
Re: Try to understand the background of the subsites module

29 November 2008 at 8:42pm
In case it helps, I've recently extended the wiki docs on the subsites module a bit: http://doc.silverstripe.com/doku.php?id=modules:subsites
Feel free to add your findings there, either as FAQs or as more documentation paragraphs - it can be quite complex to grasp sometimes, so any documentation is welcome
| 5795 Views | ||
| Go to Top |


