MyBB Community Forums

Full Version: Portal on different subdomain?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How would I have my portal on for example, www.mysite.com, while my forums are on forums.mysite.com.

I know how to do this with redirects, but is there anything better than that? Something with .htaccess?
I think this can be done in CPanel under Domain Manager or add-on domains.
I have no CPanel, it's a dedicated server.
(11-20-2010, 03:03 PM)Katrin Wrote: [ -> ]I have no CPanel, it's a dedicated server.

I wonder if you can do this in your htaccess
DirectoryIndex forums/portal.php
but im not sure that would work. The only thing i can think of is to make a redirect on a index.html to portal.php in your forum directory.
you can also do this in php
<META HTTP-EQUIV="refresh" CONTENT="seconds;URL=the-other-url">

you can also do a redirect in your htaccess

http://www.webweaver.nu/html-tips/web-redirection.shtml

so you would have to have
DirectoryIndex index.html
but with no index.html file, this is to a error redirect, and then put the above in it, or you can use the other tips on that webpage to do so.