Multiple IP's, Multiple domains and Static IP

Hello all:

The reason: (Not important to the issue but to give you a background on what I am doing) I am working on my Aegir installation on Ubuntu Lucid LTS and decided to test adding a new site that uses SSL. Since I only had one IP available Aegir gave me a "no more IP's available" and I assumed I needed to add a second IP to the Linode, which I did.

After that I read the Linode library (http://library.linode.com/networking/co … mp__ubuntu">http://library.linode.com/networking/configuring-static-ip-interfaces/#debianampubuntu) and came across the need to set the Linode with an Static IP because DCHP only handles one IP. I followed to instructions provided and as far as I can tell, everything went ok. (I pinged the gateways and got the proper responses).

Now my multiple-part question is as follows:

A) Now that I have the node/server set up with an Static IP and I have multiple IP's, How do I actually use those IP's it for setting up multiple Domains in my linode?

Under my cloud of noobness I had assume this: I got two IP's now, one for each domain so I need to do then it's simply edit my DNS Manager settings adding new A/AAA and MX Records for the new domain and assigning the new (second) IP to that domain's entry.

Is this AT ALL correct? Or am I trying to put the round peg in the square hole?

Do I simply edit the current Master DNS configuration for the Linode and add new entries for the new domain? Or do I need to add a whole new domain zone for the new domain?

Am I missing anything? I keep trying to reload this second domain to no avail. I ping it but I get "unknown host", which tells me something I did is wrong.

You help will be most appreciated.

Thanks

6 Replies

If you are adding another host to an existing domain (e.g. running secure.mydomain.com alongside host.mydomain.com), you just need to add A, AAAA and (maybe) MX records to mydomain.com. If you are using a new domain (e.g. you are setting up secure.someotherdomain.com alongside host.mydomain.com), you need to set up a new zone for someotherdomain.com, with A, AAAA. and MX records.

@kannary100:

Do I simply edit the current Master DNS configuration for the Linode and add new entries for the new domain? Or do I need to add a whole new domain zone for the new domain?
The DNS config is not tied to a certain linode - each domain should have it's own zone.

EDIT: too slow :(

Thanks for the reply. Most helpful.

Should that be new zone be a a "master" or a "slave" type?

You don't need a second IP for the first SSL site, only the second. The first SSL site can share the same IP as the non-SSL site.

SSL (currently) requires a unique IP for each domain because it's impossible for the client to tell the server what domain it wants to access before the encrypted connection is established, at which point it's too late to tell the server what cert to use. So you need a 1:1 relationship between SSL domains and IPs, but that doesn't stop you from using those IPs for other things too.

@kannary100:

Should that be new zone be a a "master" or a "slave" type?
Master if you are entering the data in Linode's DNS manager. Slave if you have your own DNS server and want Linode's servers to answer the queries using data from your server (not very likely in your case).

Thanks for the help. Got it running nicely

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct