Find the answer to your Linux question:
Results 1 to 5 of 5
Hello.. If I have a website say xyz.com, then please tell me how will a query for a sub-domain say abc.xyz.com be handled? Actually, this abc will be a data ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    4

    My server....resolving hostname ?


    Hello..
    If I have a website say xyz.com, then please tell me how will a query for a sub-domain say abc.xyz.com be handled? Actually, this abc will be a data intended to be sent to my server. So, how do I get it? Do i have to install DNS server for that? If so, how? And, how exactly does it go about.... Please let me know freely of all your suggestions...
    Regards.

  2. #2
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    If you want to setup subdomains on a domain name you can use CNAME entrys on your DNS server.

  3. #3
    Linux Newbie deek's Avatar
    Join Date
    Mar 2005
    Location
    Fort Wayne, IN
    Posts
    248
    I agree, you will have to add a CNAME to your DNS server. You will also need to add a Virtual Host block to your apache config (assuming you are using apache) to make sure it points to something other than your main domain...
    Join the Open Source Revolution. Support GNU/Linux.

    Find me at: www.deeksworld.com
    Registered GNU/Linux User #395777

  4. #4
    Just Joined!
    Join Date
    May 2005
    Posts
    4
    Hi..
    well... as I said, the "abc" in abc.xyz.com would be a data that I would be requiring...... this would not be known previously so this cannot be registered. I think this can also be done in the format say www.xyz.com/abc , however I am not sure about it. Please tell me what happens when a request for such a page is done. If this query comes to the dns server of xyz.com then I think the problem might be solved.
    Please help.
    Thanks.

  5. #5
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    I think if you say what you want to do it might help, your question is confusing. It sound like you just want to know how DNS works?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •