Is a DNS zone required for vHost subdomain of a TLD hosted outside of Scalr?

richard's Avatar

richard

06 Feb, 2012 01:18 PM via web

Hi, we have a TLD hosted outside of Scalr and wish to host an SLL enabled subdomain of it inside Scalr, just wondering how best to achieve this? (If in fact it is possible). My thoughts are as follows..

1. Don't create a DNS zone, just create an SSL enabled vHost and tag it to a farm app instance.

Or...

2. Create a DNS zone for the subdomain (i.e sub.domain.net) and somehow attach the SSL to it (if possible) without creating a vHost.

Or..

3. Create a DNS zone for the TLD (even though it's hosted elsewhere) + an SSL enabled sub domain vHost.

Or.....something else?

Any advice appreciated.

Richard.

  1. Support Staff 2 Posted by Nick Toursky on 06 Feb, 2012 07:54 PM

    Nick Toursky's Avatar

    Hi Richard,

    I believe the topic is well described in our Getting Starting guide. "Setting DNS" and "Setting Apache virtual hosts" sections.

    In general, the 3rd option that you've mentioned is correct, unless the zone hosted elsewhere - in this case there's no need to create DNS zone on Scalr, of course.

    Regards,
    Nick

  2. 3 Posted by richard on 06 Feb, 2012 08:15 PM

    richard's Avatar

    Hi Nick, many thanks for that, I think we're getting on top of it. Just one more question if I may?

    Creating a Vhost is fine, we're good with that, however If we don't create a top level DNS zone (but just a Vhost for the subdomain), what Zone records would we create for the subdomain on our host? Would it just be x4 A records to point at the 4 Scalr nameservers? And that would resolve to our server farm? Even though it had no assigned TLD?

  3. Support Staff 4 Posted by Nick Toursky on 06 Feb, 2012 08:51 PM

    Nick Toursky's Avatar

    Richard,

    You have a few options here:
    1. Use load balancer with Elastic IP address and point your subdomain to this address using static A records.
    2. Create DNS zone for this subdomain in Scalr and grant it (with IN NS records) to Scalr.net nameservers. Root records will be managed automatically.

    Regards,
    Nick

  4. 5 Posted by richard on 06 Feb, 2012 09:03 PM

    richard's Avatar

    Many thanks for the options Nick, I'll have a play tomorrow and see how things pan out. Turns out we now need a sub 'sub' domain also, which should make things even more interesting, especially when we bring a wildcard SSL into the mix.

    Fun and games.

    Richard.

  5. richard closed this discussion on 07 Feb, 2012 11:24 AM.

Comments are currently closed for this discussion. You can start a new one.