MyBB Community Forums

Full Version: htaccess help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
whats your domain? I want to see whats wrong.
Nevermind. It started working now.
Sorry for being impatient.