The Arcive of vBulletin Modifications Site. |
|
Subdomain question Details »»
|
|||||||||||||||||||||||||
In preparation for vbseo installation, I created a subdomain for my forums through cpanel on my linux server.
Strangely, the subdomain automatically redirects to the folder path so, for example, my subdomain http://forums.mysite.com redirects to http://www.mysite.com/forums/. I really would like the subdomain to load the forums files without displaying the forum folders in the URL path. Someone told me I need to create a custom vhost directive in the http.conf, but that sounds more complicated than it should be. I have deleted and recreated the subdomain multiple times and each time I rename the forums folder before doing so (and then dropping the forum files back into the new subdomain folder. I have had zero success. Any help would be appreciated! Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Just add this to your apache httpd.conf
<VirtualHost *:80> ServerAdmin webmaster@<your domain> DocumentRoot /var/www/<your directory> ServerName forum.yourdomain.coml </VirtualHost> apply and restart apache if you dont want this you can also force a redirect with a .htaccess file |
|
#3
|
||||
|
||||
|
Does it redirect you to that after you've clicked a link? If so, Do you have your paths setup correctly in the AdminCP?
|
![]() |
|
|