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

01-17-2002, 04:35 PM
|
|
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
|

01-17-2002, 05:10 PM
|
|
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. 
|

01-17-2002, 05:29 PM
|
|
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.
|

01-18-2002, 07:05 AM
|
|
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
|

01-18-2002, 12:22 PM
|
|
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
|

01-18-2002, 12:36 PM
|
|
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?
|

01-18-2002, 07:56 PM
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| 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
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|