SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Subdomain question

    I'm trying to figure out if the following is possible. I want to set up my domain so that:

    www.mydomain.com --> external photo site (Zenfolio)
    blog.mydomain.com --> my blog, hosted elsewhere

    To assign my main domain name to Zenfolio, I would modify my domain DNS settings to create an A-record pointing to Zenfolio. So www.mydomain.com would go to my Zenfolio site.

    If I did that, I'm trying to figure out how to configure the DNS settings to that I can have a subdomain (blog.mydomain.com) that is hosted separately. It may be that my understanding of DNS is incomplete, but my understanding is that the IP address associated with the A-record handles requests for that domain. I'm just unclear as to how I would configure the subdomain once the A-record is pointing to Zenfolio.

    Is what I want to do possible? Can I have two A-records, one for www.mydomain.com pointing to Zenfolio & one for blog.mydomain.com pointing to my web hosting account?

    Thanks in advance!
    Chris

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    The same way you configure the root domain to an IP you can do the same for a subdomain.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. I created an A-record for the subdomain ... waiting for changes to propagate to see if that works.

    Another related question. I have the following DNS records --

    mydomain.com. 14400 IN A 74.63.230.2
    mail.mydomain.com. 14400 IN CNAME mydomain.com

    When I change the A-record for mydomain.com to point to the external photo site, what do I need to do to ensure the email settings aren't messed up?

    Much appreciated,
    Chris

  4. #4
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    You do nothing....
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.



Bookmarks

Posting Permissions

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