LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2007, 04:19 PM   #1
File.am
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Setup subdomain to another host


Hello

i need to setup 1.domain.com to another host

I have domain (domain.com) which is on dedicate server with root access.

also have 2-nd-domain.com which is on hostgator host(where can i add domains via addon domains)

now i need to setup 1.domain.com subdomain on hostgator.

how can i do it ?

pls correct me, if i'm wrong

1. via Directadmin Subdomain Management tool (on domain.com) add "1" subdomain

2. check "DNS Management" section -> 1.domain.com is on main domain.com IP

Unfortunately there isn't any option to edit this record. i can only delete it and add manually. (i know, that i can do it via SSH - > edit config file, but i don't have enought experience to edit files via SSH. just know, few commands, how to archive, reboot, move, etc ...)

delete this record and add manually

DNS Management -> Add Domain Records ->
1.domain.com - A record =IP of hostgatore host

btw, did i need to add NS records?

3. go to 2-nd-domain.com and try to add 1.domain.com via addon domains.

hmm

it seems, that i'm doing something wrong, as i got
Quote:
Using nameservers with the following IPs: **.***.***.**2, **.***.***.**1 (my main domain IPs) Bind reconfiguring on gator using rndc

Created DNS entry for 1.domain.com
account is created, but IP-s are wrong
what i'm doing wrong ?
pls any advise?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need to setup a subdomain in Tomcat 5.5.9 CentOS 4.2 thedonkdonk Linux - General 2 09-27-2006 09:41 AM
Subdomain name for different host! posible? Shioni Linux - Networking 1 06-20-2006 01:55 AM
setup an apachie subdomain sporkit Linux - Networking 4 07-29-2004 04:45 AM
DNS & Subdomain Setup Murpe Linux - Networking 0 03-10-2004 11:00 AM
how to setup subdomain for users in apache? earl Linux - Security 5 12-05-2002 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration