hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : forwarding domains
Reply

Forum Jump

forwarding domains

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 01-17-2002, 04:24 PM
Fartknocker Fartknocker is offline
Junior Guru Wannabe
 
Join Date: Jul 2001
Location: West coast
Posts: 77

forwarding domains


How can I forward a domain that points to my dedicated server to one that doesn't? I know there are scripts out there I can put on the index page, but those just stink. Is there a way for the server to do this?

I use webhost manager and Cpanel on my server.

Webhost manager has an option "Setup/Edit Domain Forwarding", but it doesn't seem to be working. I point the domains, but they just don't re-direct.

Thanks in advance



Sponsored Links
  #2  
Old 01-17-2002, 04:35 PM
thewitt thewitt is offline
Web Hosting Master
 
Join Date: Mar 2001
Posts: 1,297
If you can change the DNS entries, you can define an A record for your domain to point to another server.

If you cannot, but you can change the domain entries to change the nameserver, use everydns.net and then define your own new name record.

If you are talking about URL forwarding instead of domain forwarding, where you want to point to a subdomain, or from a particular directory, you can use a redirect command in a .htaccess file in Apache, or a simple PHP script in the directory that does a header "Location: newurl" command.

Does any of this make sense?

-t

__________________
myOstrich Internet - OpenSRS Domain Names & Digital Certificates
http://www.myostrich.net

  #3  
Old 01-17-2002, 05:10 PM
Fartknocker Fartknocker is offline
Junior Guru Wannabe
 
Join Date: Jul 2001
Location: West coast
Posts: 77
speaka da english?

I'm so novice it's rediculous.

Here's exactly what I'm trying to do.

I want www.mydomain.com (which the DNS points to my server) to point to www.myotherdomain.com that is still on a shared server with a different host.

All solutions should be put in "see spot run" format.

Sponsored Links
  #4  
Old 01-17-2002, 05:29 PM
Wolfy Wolfy is offline
Junior Guru
 
Join Date: Dec 2001
Location: Melbourne, Australia.
Posts: 208
Edit the DNS entry for www.mydomain.com to point to the shared server instead of your server.

If you dont have control over your DNS then you could use a free or paid DNS solution instead of whomever is providing DNS to you now. Or you can use URL forwarding instead - instructions depending on your OS.

  #5  
Old 01-18-2002, 07:05 AM
freakysid freakysid is offline
Web Hosting Master
 
Join Date: Dec 2000
Posts: 945
Rather than using an A record, is not a CNAME record what is needed?

Fartknocker, you need to edit your DNS record for www.mydomain.com and create a CNAME record that points www.mydomain.com to www.myotherdomain.com

ppl, correct me if I am wrong :p

  #6  
Old 01-18-2002, 12:22 PM
thewitt thewitt is offline
Web Hosting Master
 
Join Date: Mar 2001
Posts: 1,297
Quote:
Originally posted by freakysid
Rather than using an A record, is not a CNAME record what is needed?

Fartknocker, you need to edit your DNS record for www.mydomain.com and create a CNAME record that points www.mydomain.com to www.myotherdomain.com

ppl, correct me if I am wrong :p
Actually, CNAME records are not as efficient as A records. When you fetch a CNAME, you then have to go back to the nameserver and fetch the corresponding A record - so you might as well use A records to begin with.

There is no harm with having multiple A records.

They also make a mess with MX records.

-t

__________________
myOstrich Internet - OpenSRS Domain Names & Digital Certificates
http://www.myostrich.net

  #7  
Old 01-18-2002, 12:36 PM
Fartknocker Fartknocker is offline
Junior Guru Wannabe
 
Join Date: Jul 2001
Location: West coast
Posts: 77
Both CName and A records worked, but it's getting forwarded to my shared hosts main page. I listed the A record as http://www.myotherdomain.com.

How do I fix this?

  #8  
Old 01-18-2002, 07:56 PM
Wolfy Wolfy is offline
Junior Guru
 
Join Date: Dec 2001
Location: Melbourne, Australia.
Posts: 208
In that case it would seem like your shared host is using 'name based hosting' or 'host headers', rather than your site being assigned its own IP. This is a very common thing to do, but you would need them to configure their server so that requests for your domain on their IP, are actually forwared to your website.

Reply

Related posts from TheWhir.com
Title Type Date Posted
Nominet Plans to Make Shorter .UK Domains Available Starting June 10 Web Hosting News 2014-02-03 12:08:10
Nominet Goes Ahead with Shorter .UK Domains Despite Negative Feedback Web Hosting News 2013-11-21 11:02:46
Today in Domains: Startups, Exact Match Keyword Domains and Facebook Typosquatters Blog 2013-05-01 16:35:20
Web Hosting Sales and Promos Roundup - January 4, 2013 Web Hosting News 2013-01-04 16:50:32
New Heart Internet Feature Helps Customers Sell Unwanted Domains through Control Panel Web Hosting News 2012-09-05 15:17:37


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?