PDA

View Full Version : Co-domains


gfts
8th March 2006, 15:15
Greetings!

I need to ask ... i have a domain .. http://www.xyz.com, now i want to make a subdomain as abc.xyz.com, which needs to be forwarded to the directory abc on the server directory.

How should i go ahead with it ?

As for the domain, i am just using a pointer with the name servers of a different isp.

Thanks

todvard
8th March 2006, 16:41
Go to ISP Manager -> your site (eg.: www.xyz.com) -> Co-Domains -> Add New co-domain -> Hostname: abc, Domain: xyz.com -> Forward: /var/www/webXX/web/abc (eg.: give the location of the abc folder in the file system, or http://www.xyz.com/abc if the abc folder can be reached by that way)

gfts
8th March 2006, 16:52
i did forward as http://www.xyz.com/abc but when i try http://abc.xyz.com, i cannot reach the page, also, while pinging, i am not able to ping abc.xyz.com.

I had also enabled create dns and create dns mx. do i have to enable them ? or it isn't required.

I have given the ip as a real ip for the website. or should i give the local ip, ie 192.168.x.x for that website.

Thanks.

falko
8th March 2006, 20:43
I have given the ip as a real ip for the website. or should i give the local ip, ie 192.168.x.x for that website.

Thanks.
In DNS you must use the public IP address, otherwiese people from outside your LAN can't access the domain.
Is your ISPConfig server the authoritative name server for your domain?
Can you post the real domain name here?

gfts
9th March 2006, 05:34
In DNS you must use the public IP address, otherwiese people from outside your LAN can't access the domain.
Is your ISPConfig server the authoritative name server for your domain?
Can you post the real domain name here?

Yes, i have a Broadband connection, where i have a Live IP, and i can access the site www.xyz.com from other isp's also.

My query was, i wanted to create a sub-domain, namely as abc.xyz.com.

How do i do that ?

The domain that i have booked, from the registrar, provides me the name servers, i had just to change the A record, to point the domain at my IP.
The name servers remain of the registrar, who has provided me the domain.

Thanks

till
9th March 2006, 07:44
Yes, i have a Broadband connection, where i have a Live IP, and i can access the site www.xyz.com from other isp's also.

My query was, i wanted to create a sub-domain, namely as abc.xyz.com.

How do i do that ?

The domain that i have booked, from the registrar, provides me the name servers, i had just to change the A record, to point the domain at my IP.
The name servers remain of the registrar, who has provided me the domain.

Thanks

1) Go to your registrar and make an A-Record for abc.xyz.com that points to your server IP.

2) In ISPCOnfig, open the web where abc.xyz.com shall belong to, add a co-domain abc.xyz.com and enter http://www.xyz.com/abc in the forward field.

gfts
9th March 2006, 08:11
I did exactly the same, before trying to post in the forums.

1. I have created a domain, www.xyz.com where address = live ip.
do i enable dns and dns-mx records for this domain ?

2. I created a co-domain under this domain ..
clicked on new ..
hostname : abc
domain : xyz.com
here, do i enable dns, dns-mx ?

3. i clicked on forward : http://www.xyz.com/abc
or do i mention as http://www.xyz.com/abc/
or do i mention as www.xyz.com/abc

4. i clicked on options :local mail server : no changes
save.

I try to open the site from a browser, http://abc.xyz.com - page cannot be displayed.
when i try to ping abc.xyz.com, unknown host, but i can ping xyz.com

Did i go wrong somewhere ?

Thanks

till
9th March 2006, 08:15
I did exactly the same, before trying to post in the forums.

1. I have created a domain, www.xyz.com where address = live ip.
do i enable dns and dns-mx records for this domain ?

2. I created a co-domain under this domain ..
clicked on new ..
hostname : abc
domain : xyz.com
here, do i enable dns, dns-mx ?

3. i clicked on forward : http://www.xyz.com/abc
or do i mention as http://www.xyz.com/abc/
or do i mention as www.xyz.com/abc

4. i clicked on options :local mail server : no changes
save.

I try to open the site from a browser, http://abc.xyz.com - page cannot be displayed.
when i try to ping abc.xyz.com, unknown host, but i can ping xyz.com

Did i go wrong somewhere ?

Your problem seems not to be related to the forwarding.

Is your server the autoritive nameserver for xyz.com?

If yes, please check in the dns manager if there is an A-Record for abc pointing to your server IP in the primary record for xyz.com.

After you created the record, it may take up to 48 hours until the dns changes become valid and you will be able to reach abc.xyz.com.

gfts
9th March 2006, 08:33
I guess, i haven't yet configured my dns in ISP-Config.

I'll play around with it for some time, before i get back here.

I didn't try it before, was b'cs i didn't want to mess with things i don't know, or am not familiar about.

Thanks :D

ps : i just need to ask : do i need to configure the dns settings in ispconfig ?

I am using ppp dialer with a static ip to get connected to the net.

Thanks again

falko
9th March 2006, 09:53
ps : i just need to ask : do i need to configure the dns settings in ispconfig ?

That depends if your ISPConfig server is authoritative for a domain. If you post your real domain name here, I can tell you more.