hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : URL Redirection Question
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

URL Redirection Question

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-18-2001, 11:06 PM
driverdave driverdave is offline
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 263

URL Redirection Question


I have a raq4i. Need to do this

sitea.com
siteb.com

sitea.com is a website. We update it etc...
siteb.com is a mirror of sitea.com.

We want people to be able to go to both sites and see the same content (sitea.com), but see diferent urls in their browsers.

Like, when someone types in siteb.com, they still see siteb.com throughtout the visit.

The only way I've found to do such a thing, is to change DocumentRoot of siteb.com to that of sitea.com in httpd.conf.

The cobalt GUI does not seem to care for this at all.

Is there any other way to achieve this? I've read my apache book and found nothing. Any help would be appreciated.

I don't like it when my cobalt GUI is mad at me. I'm afraid of what it might do!

Reply With Quote


Sponsored Links
  #2  
Old 10-19-2001, 03:24 AM
NewonNet NewonNet is offline
WHT Addict
 
Join Date: Jun 2001
Posts: 165
Easily done.

Setup only vsite for sitea.com

setup dns for both

put include statement at the end of our httpd.conf to point to another file. In this file, create the structure of httpd.conf <VirtualHost> for site b pointing to the same folder as sitea.

That's it.

I have this setup also.

__________________
Tom Sonsuwan

Domain Registration and Web hosting
http://www.SpeedyDomainRegistration.com
We take customer support seriously!

Reply With Quote
  #3  
Old 10-19-2001, 04:55 AM
driverdave driverdave is offline
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 263
Would john@sitea.com get email addressed to josh@siteb.com? thats the main reason I set up 2 vsites through the GUI.

That's a good idea though. Maybe if I add siteb in the email server list in site settings for sitea.

I'll give it a try. Thanks!

Reply With Quote
Sponsored Links
  #4  
Old 10-19-2001, 05:37 AM
NewonNet NewonNet is offline
WHT Addict
 
Join Date: Jun 2001
Posts: 165
I think that should work.

__________________
Tom Sonsuwan

Domain Registration and Web hosting
http://www.SpeedyDomainRegistration.com
We take customer support seriously!

Reply With Quote
  #5  
Old 10-19-2001, 02:29 PM
driverdave driverdave is offline
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 263
I'm sorry, it was a late night last night. I remeber the real reason we set up both sitea and siteb in the GUI.

We need stats on both sites. We can't have an actual re-direct
(re-write siteb.com to sitea.com), because the searchengines do not like it.

We need to have sitea and siteb appear to be different sites. I'm not sure how the webalizer.pkg handles it when there is a site in httpd.conf virtual hosts config, but not in /home/sites

I think webalizer goes through the directories in /home/sites when it's compiling stats. I'd hate to have to re-config webalizer.

Reply With Quote
  #6  
Old 10-19-2001, 04:48 PM
texasweb texasweb is offline
Junior Guru Wannabe
 
Join Date: Mar 2001
Posts: 43
Set up sitea and siteb.

telnet/ssh into server

mv siteb directory to bakup somewhere

ln -sd sitea siteb

__________________
Wayne Stevens
Texas Web Solutions, Inc

Reply With Quote
  #7  
Old 10-19-2001, 06:23 PM
driverdave driverdave is offline
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 263
Ahhh... I believe that will keep the stats in place.

Here is what I did.

/home/www.siteb.com/web is a symlink to /home/www.sitea.com/web

I left users and logs for siteb alone, cause I think thats where the stats get stored.

This should work. Thanks!

Reply With Quote
  #8  
Old 10-19-2001, 07:24 PM
driverdave driverdave is offline
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 263
Ahhhhhrrrrggggg...

symlinks screw up the Cobalt Migration Utility.

You can't win

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
StormVZ Rebrands to Iniz to Differentiate VPS Hosting Services Web Hosting News 2013-04-15 11:00:30
Domain Registrar Domain.com Launches goMobi Mobile Web Solution Web Hosting News 2012-08-24 17:32:25
Rackspace Blog Looks at Easy Outsourcing for App Development Blog 2012-03-05 19:07:48
Go Daddy Helping Customers Repair Compromised Sites Web Hosting News 2011-09-16 14:35:03
Web Host Go Daddy Says Outage Due to Software Upgrade Web Hosting News 2011-06-14 16:54:29


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?