![]() |
Subdomain question
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! |
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 |
Does it redirect you to that after you've clicked a link? If so, Do you have your paths setup correctly in the AdminCP?
|
All times are GMT. The time now is 09:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|