hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Domain Names : About nameservers and domains
Reply

Domain Names Discussion of issues related to domain names such as domain registration, DNS transferring, domain reselling, etc. Find domain resellers and registrars. Post domains for sale at Domain Names Advertising.
Forum Jump

About nameservers and domains

Reply Post New Thread In Domain Names Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-30-2005, 04:58 AM
guider guider is offline
Newbie
 
Join Date: Dec 2005
Posts: 6
Unhappy

About nameservers and domains


Hello, I'm confused. I own a - currently ugly redirected - domain name with access to DNS settings. I also own seperate webspace with cPanel. I have a couple of questions regarding nameservers and domains. Please reply to them one by one to not further confuse me

1. I wish to link www.domain.com to guider.buildtolearn.net/subdir1/index.php. I would like all the links to say www.domain.com/index.php. How do I do that, step by step?

2. I wish to create and link subdomain.domain.com to guider.buildtolearn.net/subdir2/index.php. I would like all the links to say subdomain.domain.com/index.php. How do I do that, step by step?

3. My current www.domain.com host also provides me with email@domain.com. I understand question one involves changing ns1 and ns2. Question: will my email still arrive @domain.com after this change?


Thank you so much for a detailled reply.

Reply With Quote


Sponsored Links
  #2  
Old 12-31-2005, 08:48 PM
stefaans stefaans is offline
Junior Guru Wannabe
 
Join Date: Feb 2002
Location: Vancouver, Canada
Posts: 74
There are probably several ways of doing all of this. My approach:

Quote:
1. I wish to link www.domain.com to guider.buildtolearn.net/subdir1/index.php. I would like all the links to say www.domain.com/index.php. How do I do that, step by step?
If you have not done so already, create an account in your webspace with cPanel for domain.com. Create an HTML file (which you can call index.php) that is a frameset. Let the frameset comprise two horizontal frames, with the top frame being 0 pixels high. Link the bottom frame to http://guider.buildtolearn.net/subdir1/index.php.

As for DNS, all you need to do it set the A records of domain.com to point to the IP address of your cPanel webspace.

Quote:
2. I wish to create and link subdomain.domain.com to guider.buildtolearn.net/subdir2/index.php. I would like all the links to say subdomain.domain.com/index.php. How do I do that, step by step?
Create the subdomain in cPanel (log in at www.domain.com/cpanel). This will create a subdirectory subdomain inside you public_html directory. Repeat the above frameset trick with an index.php file inside that directory, this time pointing the bottom frame to http://guider.buildtolearn.net/subdir2/index.php.

And again for the DNS, all you need to do it set the A records of subdomain.domain.com to point to the IP address of your cPanel webspace.

Quote:
3. My current www.domain.com host also provides me with email@domain.com. I understand question one involves changing ns1 and ns2. Question: will my email still arrive @domain.com after this change?
If domain.com has already been pointing to your cPanel webspace, then the above DNS steps were not necessary, and nothing will change as far as your email goes. However, if you needed to change to A records above, then you should do one of two things:
* To leave your email functioning on another existing server (not the cPanel one), change the MX record for domain.com to point to that server. Example:
Code:
domain.com, MX, 0, mail.domain.com
mail.domain.com, A, 12.34.56.78
(change 12.34.56.78 to the actual IP)
* To move your email to the server with your cPanel webspace, first use cPanel to create the addresses, and then update your MX record to point to that server's IP address.

I hope this helps

__________________
Stephen @ www.anno.com

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Today in Domains: Startups, Exact Match Keyword Domains and Facebook Typosquatters Blog 2013-05-01 16:35:20
50a15ecd-fab4-4084-be23-53a245a799a0 Listing 2013-03-05 18:23:24
Tucows Adds 100-Plus new Domain Extensions to OpenSRS System Web Hosting News 2011-12-22 18:29:09
Web Host 1&1 Launches Domain Registration Mobile App Web Hosting News 2011-11-02 21:05:55
New on WHIR TV – Karla Hakansson of Verisign Talks .com and .net Branding Blog 2011-08-25 20:23: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?