| Linode Forum https://forum.linode.com/ |
|
| Multiple IP's, Multiple domains and Static IP https://forum.linode.com/viewtopic.php?f=19&t=6149 |
Page 1 of 1 |
| Author: | kannary100 [ Wed Oct 20, 2010 6:35 am ] |
| Post subject: | 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) 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 |
|
| Author: | pclissold [ Wed Oct 20, 2010 8:29 am ] |
| Post subject: | |
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. |
|
| Author: | Stever [ Wed Oct 20, 2010 8:30 am ] |
| Post subject: | Re: Multiple IP's, Multiple domains and Static IP |
kannary100 wrote: 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 |
|
| Author: | kannary100 [ Wed Oct 20, 2010 9:57 am ] |
| Post subject: | |
Thanks for the reply. Most helpful. Should that be new zone be a a "master" or a "slave" type? |
|
| Author: | Guspaz [ Wed Oct 20, 2010 11:14 am ] |
| Post subject: | |
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. |
|
| Author: | pclissold [ Wed Oct 20, 2010 12:32 pm ] |
| Post subject: | |
kannary100 wrote: 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). |
|
| Author: | kannary100 [ Thu Oct 21, 2010 4:26 am ] |
| Post subject: | |
Thanks for the help. Got it running nicely |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|