Co-domains

Discussion in 'Installation/Configuration' started by gfts, Mar 8, 2006.

  1. gfts

    gfts New Member

    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
     
  2. todvard

    todvard ISPConfig Developer ISPConfig Developer

    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)
     
  3. gfts

    gfts New Member

    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.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    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?
     
  5. gfts

    gfts New Member

    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
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  7. gfts

    gfts New Member

    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
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  9. gfts

    gfts New Member

    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
     
    Last edited: Mar 9, 2006
  10. falko

    falko Super Moderator ISPConfig Developer

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

Share This Page