http://forums.myownworld.org
right now it's at http://myownworld.org/phpbb2
(by the way, the server is off..because i noticed a major flaw which exposes php code, if you structure the URL a certain way.. )
anyway... I have the VirtualHost section of the httpd.conf file as follows.
(Hiding IP for security reasons.)
<VirtualHost #.#.#.#:80>
ServerAdmin Webmaster@myownworld.org
DocumentRoot htdocs/phpbb2
ServerName forums.myownworld.org
ServerAlias forums.myownworld.org
</VirtualHost>
Now.. I went through the documentation plenty of times, I went through their examples.. and thats as best I understand it.
I could be wrong...and might not even have to use the VirtualHost for setting up a Subdomain.. but someone please tell me if I'm doing something wrong here.
Also.. it occured to me as well..that maybe the ServerName/Alias has to be the same as the folder name in the DocumentRoot and the DNS has to be set up for it as well. Well, I tryed it, and it still didn't work.
example..
DNS set to: phpbb2.myownworld.org
folder name: phpbb2
servername: phpbb2.myownworld.org
serveralias: phpbb2.myownworld.org
All the configuratin does right now, since it's obviously configured wrong... is displays my main site..but with the subdomain attached in the URL.
So I dont know what the hell I'm doing. IF anyone here is good with Apache configuration, please help me!
![:oops:](./images/smilies/icon_redface.gif)