FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


How to set up a subdomain for phpbb ?





Summer
I bought a domain called uniquegfx.com . I wanna set up a subdomain for the forums , called forums.unquegfx.com , I made the subdomain in cpanel , what should i do next ?

Should I :
Log in to admin panel >> General Configuration >> Domain Name >>

And type forums.uniquegfx.com ???

how about the Script path then ?
Summer
One more question . Why everytime I revisited my forum , i have to relogin again . The domain is the same - www.uniquegfx.com/forums/ (www is always infront) .

How to solve this ?
ashok
Solution No. 1
*Open fantastico, Open phpBB page, Click Install, when asked for directory give /forum and install the board.
* Go to Cpanel, Go to subdomains, Select forums.unquegfx.com and click add redirection, add http://www.unquegfx.com/forums

Solution No. 2
*After creating the subdomain forums.unquegfx.com, login with ftp, delete the "forums" directory created in ur root.
*Open cpanel, install phpbb and put script path as /forums
*whenever u type forums.unquegfx.com, the forum will open.

Quote:
One more question . Why everytime I revisited my forum , i have to relogin again . The domain is the same - www.uniquegfx.com/forums/ (www is always infront) .

Just at the login page, check the Remember Me option.
ashok
also dont forget this.. from ur phpbb control panel, in the configuration, put the domain name as forums.unq......com and the cookie domain as forums.un.....com. other wise sometimes u wont be able to login properly or the address will be automatically redirected to www.unq....com/forum
Summer
now i give up the subdomain . I just dun wan to relogin everytime . It will only relogin when I goto forums from uniquegfx.com/index.html .

the link in index.html to forums is :

/forums/

everytime i click this i will have to relogin .
n0obie4life
Damn, did you even follow what that guy said?

If so, I think you just screwed your phpBB Wink.

Otherwise, continue viewing.

Okay. First, make sure you created the subdomain "forums.uniquegfx.com".

Then, run this SQL Query through phpmyadmin

Code:
UPDATE `phpbb_config` SET `config_value` = 'forums.uniquegfx.com' WHERE `config_name` = 'cookie_domain' LIMIT 1;
UPDATE `phpbb_config` SET `config_value` = '/' WHERE `config_name` = 'cookie_path' LIMIT 1;
UPDATE `phpbb_config` SET `config_value` = 'forums.uniquegfx.com' WHERE `config_name` = 'server_name' LIMIT 1;
UPDATE `phpbb_config` SET `config_value` = '/' WHERE `config_name` = 'script_path' LIMIT 1;
Summer
lol , I followed all u all say . Now my

Domain Name : forums.uniquegfx.com
Script Path : /
Cookie domain : forums.uniquegfx.com


But when I login its redirect me to www.uniquegfx.com/forums/
n0obie4life
Confused

Can't be, that method always worked for me, there must be some other setting Sad

Is there a .htaccess file there?
Summer
yeah . How about giving you admin access to my forum and cpanel ?
n0obie4life
Summer wrote:
yeah . How about giving you admin access to my forum and cpanel ?


Up to you.

I think the .htaccess file is causing it doh..Smile

So maybe post the .htaccess file here?
Summer
I sent u a pm .
ashok
n0obie4life wrote:
Confused

Can't be, that method always worked for me, there must be some other setting Sad

Is there a .htaccess file there?


yeah both of the solutions i gave worked absolutely fine!!

If u have followed solution 1, from phpBB GeneralAdmin>Configuration, put script path as http://www.unquegfx.com/forums

For solution 2, there's no need to put anything there. Just leave the field blank (dont even put that / )

Both worked for me... Rolling Eyes
n0obie4life
He wants it to do this

http://forums.uniquegfx.com/index.php <- but phpBB is doing

http://uniquegfx.com/forums/index.php

It's still that .htaccess file!!!!!!!!
Summer
Okay , thanks . -solved-
Related topics
help add admin in phpbb forum
phpBB Services
phpBB avatars problem
phpBB cookies
MEMBERS NEEDED URGENTLY
Re-done for the 6th time skateboarding website!
phpBB what's it like to set it up???
install phpbb forum, set width... add to my site
250 FRIH $ - To install/set-up a phpbb forum
Paying 100 frihs
Installing forum to DirectAdmin
Installing phpBB2 with WAMP
Creating a new phpbb forum on my new domain.
Look and Feel of my Web site
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.