![]() |
Point a domain to a certain folder
I'm not sure if this is apache or not so if not please tell me where I should post this :p.
Using the windos hosts file I've made it so if I go to www.forum.com it shows my root localhost folder, however I'd like it to show a certain sub folder. Is there a way with I can make apache look what the domain is, and if its forum.com use the sub folder as the default folder it uses? EDIT: I've just found and tried adding Code:
<VirtualHost *> |
If you wanted you could always change the directory index. So whenever you go to www.forum.com it will go to the files you specify.
Code:
DirectoryIndex subfolder/this.html index.html |
| All times are GMT +1. The time now is 05:51 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.