General discussion

Locked

Redirecting Domains

By Mackem ·
I am new to Web design and web hosts. I am now stuck with a web host that does not offer a lot of help. I have registered two domains to my name, my web host offers a default web site address which I need to redirect to my two domains so that they can be seen on the interenet.
Can anyone offer advice as to where I might be able to get hold of some scripts that might help me achieve this.

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by BFilmFan In reply to Redirecting Domains

You would need a forwarder on your local DNS servers and a record for your domains on the externally published DNS server.

Collapse -

by Mackem In reply to Redirecting Domains

Thanks for your reply. Both of my domains are recorded on the external dns server. The only method that I know of is to use iether a script or code to redirect from my default page to each of my domains.

Collapse -

by softcorp.us In reply to Redirecting Domains

Hello...

Do I understand your situation correctly?

1. You have a new web site from some web host. You can access it using an IP address but not your domain names.

2. You have registered 2 domain names. They are "parked" somewhere. That is, they point to some default page that says "coming soon" or some such. This place is not your web server. If it was, you could just change the pages there.

3. You want your new domain names to both point to your new web server so it can be accessed using the names.

Some Details
============
1. Your domain name Registrar maintains a record that specifies which DNS server on the Internet is the controlling one for your domain name.

2. The records you need must be added to that DNS server.

3. That DNS server must also be one that your web site can use as the controlling DNS server. If it's not the one provided by your web host, the first step is to change the record in your Registrar to specify that your web host's DNS server is the authority for your domain names.

4. Then, you must get records in the controlling DNS server, now operated by your web host, that associates your domain names to the IP address of your web server that they run for you. How you do this varies by web host. Sometimes you can do it yourself via a browser-based management interface. Sometimes you must request them to do it for you. If you are not sure, start by asking them this question.

5. After the change is made to the controlling DNS, it will take 1-3 days for the change to propagate to the root of the Internet.

6. Alternate method: Sometimes you can get your Registrar to forward requests for your domain to your web server. This is OK but it's better to not have the Registrar in there like that.

Did this help? Do you have more questions?

-----Steve Jackson

CEO/CSA
Software Corporation (Softcorp)
http://www.softcorp.us/probono
Advanced pro bono tools and utilities free for personal use

Collapse -

by softcorp.us In reply to

Regarding "To access my domains I need to write some code or a script whiich will redirect from default page to my domain(s)."

No. This is a configuration problem as I described in my reply to your question. Your domain names are configured to point to a default page provided by your web host. A configuration change must be made to make them point to your web server.

Questions: Where and how did you get the understanding that you must write a script to get your domain names to point to your server?

Send me a private message if you want to interact on this.

-----Steve Jackson

CEO/CSA
Software Corporation (Softcorp)
http://www.softcorp.us/probono
Advanced pro bono tools and utilities free for personal use

Collapse -

by Mackem In reply to Redirecting Domains

Ok this is the situation as I understand it.
My web host provides a default page address in the format of http://yourname.hostname.net My domain names are registered in the web hosts external DNS server, I have checked this using a DNS lookup.
To access my domains I need to write some code or a script whiich will redirect from default page to my domain(s). I have tried using html code and also using .asp, but no luck so far.
you might have gathered that coding is not my strong point.
Any help will be greatly appreciated.

Collapse -

by heavenlybright In reply to Redirecting Domains

Hi, why don't you just set the two domain names to forward to your own domain names. No need to redirect.

Back to Web Development Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums