hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : URL Forwarding...again
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

URL Forwarding...again

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-06-2001, 06:48 PM
webfors webfors is offline
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
Hi everyone,

Ok, I know we've discussed this a couple times already and we always came to the conclusion that to setup url forwarding for a domain name to a subdirectory of another domain name you would have to use a redirect script.

Now, I have done this without problems on my server. (ie: http://www.videomatch.org). Now what I want to know is how can I do this and KEEP the "entered" domain name in the address field of the browser (ie: http://www.giftsfromheavenonline.com). I know some registrars offer this, like http://www.registrars.com/static/par...ng_login.shtml. SO, how is this done???

[Edited by tabernack on 02-06-2001 at 05:50 PM]

Reply With Quote


Sponsored Links
  #2  
Old 02-06-2001, 10:13 PM
Chicken Chicken is offline
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
Worked wonderfully on my ol' RaQ3, but doesn't work on my RaQ4 and if you can get it to work on the RaQ4, then I'll be your very best friend:

.htaccess file in the subdomain/domain's web folder, which leads to the uers dir. that you want to redirect to.

RewriteEngine on
RewriteBase /
RewriteRule ^(.*)$ http://www.domain.com/~user/$1 [P]

Keep in mind that I need this for my server and I can't get it to work. I'm sad due to this.

__________________
HostHideout.com - Where professionals discuss web hosting.

• Chicken

Reply With Quote
  #3  
Old 02-06-2001, 10:24 PM
Dylan Dylan is offline
Web Hosting Master
 
Join Date: Oct 2000
Posts: 1,113
I don't believe that's what tabernack is looking for as it doesn't keep the domain name stuck in the window.

Reply With Quote
Sponsored Links
  #4  
Old 02-06-2001, 11:12 PM
Dexter Dexter is offline
Web Hosting Guru
 
Join Date: Jul 2000
Posts: 337
well it isn't the best way... but if you just need to do one website this'll do... just fill in the blanks and drop this page into the url that you want to get redirected to the other one...

----
<html>

<head>
<title>put your title here</title>
</head>

<frameset rows="*">
<frame name="top" src="http://www.put your url here.com">
<noframes>
<body>

<p>This page uses frames, but your browser doesn't support them.</p>

</body>
</noframes>
</frameset>

</html>

----

Reply With Quote
  #5  
Old 02-07-2001, 01:06 AM
Racin' Rob Racin' Rob is offline
Junior Guru
 
Join Date: Aug 2000
Location: Saint John, New Brunswick, Canada
Posts: 211
What about having a full entry in your http.conf file as if it was a normally hosted domain, but change the document root to the correct absolute path to the directory you want to use.

<VirtualHost 200.201.202.203:80>
ServerName videomatch.org
ServerAdmin "you@domain.com"
DocumentRoot /usr/local/plesk/apache/vhosts/buyitonline.com/httpdocs/videomatch
</VirtualHost>

You can use a RedirectPermanant line instead of a script to have it work the same as it does now.

<VirtualHost 200.201.202.203:80>
ServerName videomatch.org
ServerAlias w ww.videomatch.org
ServerAdmin "you@domain.com"
RedirectPermanent / "http://buyitonline.com/videomatch/"
</VirtualHost>

__________________
Racin' Rob
http://www.racin.net
640 Kilobytes of computer memory ought to be enough for anybody.
-- Bill Gates, 1981

Reply With Quote
  #6  
Old 02-07-2001, 01:29 AM
webfors webfors is offline
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
The url I want to redirect to is not on my server, hence, the absolute path idea wouldn't work.

Reply With Quote
  #7  
Old 02-07-2001, 09:44 AM
Racin' Rob Racin' Rob is offline
Junior Guru
 
Join Date: Aug 2000
Location: Saint John, New Brunswick, Canada
Posts: 211
Sorry, missed that part. The only way I know of is the use of frames like Dexter suggested.
I'm not sure how mydomain.com does it. It seems to me their URL forwarding works the way you want it to.

__________________
Racin' Rob
http://www.racin.net
640 Kilobytes of computer memory ought to be enough for anybody.
-- Bill Gates, 1981

Reply With Quote
  #8  
Old 02-07-2001, 08:57 PM
Chicken Chicken is offline
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
Quote:
Originally posted by Dylan
I don't believe that's what tabernack is looking for as it doesn't keep the domain name stuck in the window.
In fact, it did on the RaQ3 *but* not sure if it works off server, nor if it would work on something else besides a RaQ3 (doesn't work on RaQ4).

__________________
HostHideout.com - Where professionals discuss web hosting.

• Chicken

Reply With Quote
  #9  
Old 02-07-2001, 09:23 PM
Dylan Dylan is offline
Web Hosting Master
 
Join Date: Oct 2000
Posts: 1,113
Mmm... doesn't work for me. It does a standard forward for me.

If you redirect me.com to you.com, you.com appears in the addy.

The [P] doesn't work for me either. I had to delete it to get it to work.

Reply With Quote
  #10  
Old 02-08-2001, 08:49 AM
Chicken Chicken is offline
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
It worked really well on *one* server heh. *sigh* Is there anyone handy with this sort of thing?

(P.S. On the new server I had to delete the [P] to get it to work at all as well... BUGGER!).

__________________
HostHideout.com - Where professionals discuss web hosting.

• Chicken

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Hosting Sales and Promos Roundup - January 4, 2013 Web Hosting News 2013-01-04 16:50:32
Go Daddy Identifies Causes of September 10 DNS Failure in Detailed Postmortem Post Web Hosting News 2012-11-12 13:49:14
Web Host Bluehost Launches Reseller Hosting Web Hosting News 2011-10-14 15:16:37
Register Reports Apple iCloud Operating on Microsoft Azure and Amazon AWS Web Hosting News 2011-09-06 14:36:55
Web Hosting Sales and Promos Roundup - August 5, 2011 Web Hosting News 2011-08-05 20:48:41


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?