php forum
php mysql forum
php mysql smarty
 
Topic Options
#269429 - 02/17/04 09:41 AM Swapping domains on the same server
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
As it is I have www.guitars101.com redirect traffic to www.vhfans.com through a simple redirect in the index.htm page. What I would like to do is switch it around completely so guitars101 is the main site and vhfans points to that. Not sure if I have to physically move everything or if pointers can be moved or what <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" /> Of course the perfect setup would be where they both work but I know that's asking a lot. <img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" />

Top
#269430 - 02/17/04 11:05 AM Re: Swapping domains on the same server [Re: BlarC]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Your host should be able to "park" that domain right on top of vhfans so that you can use either/or. Then you simply update the URLs in your config file and you're set. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#269431 - 02/17/04 11:24 AM Re: Swapping domains on the same server [Re: Daine]
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
I have guitars101 on my server now so I can park guitars101.com and it will reflect the full URL i.e. http://www.guitars101.com/boards/ubbthreads.php/Cat/0 ? And you are referring to Path and URL settings in the Admin as far as the config file correct?

Top
#269432 - 02/17/04 02:43 PM Re: Swapping domains on the same server [Re: BlarC]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, are you using a CPanel Server? Do you have access to WHM?<br /><br />If you park it on vhfans.com - then that URL will also reach threads.<br /><br />Right now it appears to be setup as a separate account on the server.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#269433 - 02/17/04 02:59 PM Re: Swapping domains on the same server [Re: Daine]
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
Yes I use WHM and have both accounts on the same server, in different directories. LOL it's a little confusing with the Park on top of thing here is what it looks like in my DNS manager:


Attachments
108144-park.gif (329 downloads)


Top
#269434 - 02/17/04 04:18 PM Re: Swapping domains on the same server [Re: BlarC]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OK - since the guitars account isn't really being used (no users or files to speak of right?)<br /><br />Delete the guitars account.<br /><br />Then go to that screen above, on the left click vhfans.com and in the right, put your guitars domain.<br /><br />Then www.vhfans.com/whatever.html will be the same as www.guitars101.com/whatever.html<br /><br />They both access the exact same files.<br /><br />Once you are sure that it's working, simply change the URLs in your config file of threads and it'll start using that domain instead. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#269435 - 02/17/04 05:25 PM Re: Swapping domains on the same server [Re: Daine]
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
It worked, <img src="http://www.ubbdev.com/forum/images/graemlins/yay.gif" alt="" /> Seems a little slower, maybe it has to re-cache things. Thanks for the help Josh <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top



Moderator:  Charles 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks