2012-11-24, 10:22 AM
Well I have a subdirectory where mybb is installed.
The path is "public_html/mybb".
It was working fine entering http://mydomain.com/mybb
Now I've created a subdomain 'mybb.mydomain.com' and forwarded to dir 'pumlic_html/mybb'.
Now the problem is:
If I enter http://mydomain.com/mybb - works fine.
If I enter http://mydomain.com/mybb/index.php - works fine.
If I enter http://mybb.mydomain.com/index.php - works fine.
if I enter http://mybb.mydomain.com - the page doesn't load
even there is an .htaccess file inside the directory "public_html/mybb" with this line:
DirectoryIndex index.php portal.php index.html
How can I make set the default page for the subomain?
The path is "public_html/mybb".
It was working fine entering http://mydomain.com/mybb
Now I've created a subdomain 'mybb.mydomain.com' and forwarded to dir 'pumlic_html/mybb'.
Now the problem is:
If I enter http://mydomain.com/mybb - works fine.
If I enter http://mydomain.com/mybb/index.php - works fine.
If I enter http://mybb.mydomain.com/index.php - works fine.
if I enter http://mybb.mydomain.com - the page doesn't load
even there is an .htaccess file inside the directory "public_html/mybb" with this line:
DirectoryIndex index.php portal.php index.html
How can I make set the default page for the subomain?