Hello, I have a few questions I hope someone can help me with.
1) I've been setting up my new server and managed to get everything to work for one wordpress domain. However when I set up the 2nd domain it now resolves to the first one I set up. Is this why people buy multiple IPs? Or can I set up multiple domains using the same IP using some other method?
2) Furthermore, I use Google apps for my mail and wish to keep it that way. As a result, I understand I also need a reverse IP for one domain and postfix setup in order to enable them to send mail (comment form mail etc). I was under the impression that I can do this for one domain and all the other domains can use this reverse IP.
I had a big issue understanding the issue about the host name. My server host name is mail.(firstdomain).com.
I am not happy to have to choose one domain that the server needs to name itself to. I'm suspecting that the server can only handle one domain per IP but would like a confirmation. Thank you.
Details about my setup:
I'm using the VPS DNS manager because, I am not using a control panel of any sort. I set up my wordpress/domains sites on an Ubuntu 10.04 LEMP server.
Page 1 of 1
Set up Multiple Domains on One IP?
#2
Posted 10 February 2011 - 07:44 PM
1) you need named vhosts as per here:
apache - http://httpd.apache....name-based.html
nginx - http://wiki.nginx.or...tualHostExample
2) yes thats fine, the reverse dns pointer should be set to whatever you set your system hostname to eg server.yourdomain.com and server.yourdomain.com should also resolve to the primary IP of your server
3) unless your server is actually the mailserver for that domain (eg you run exchange/kerio/zimbra etc) then its better to use something else eg server1.yourdomain.com, no other reason that keeping things consistant and descriptive
apache - http://httpd.apache....name-based.html
nginx - http://wiki.nginx.or...tualHostExample
2) yes thats fine, the reverse dns pointer should be set to whatever you set your system hostname to eg server.yourdomain.com and server.yourdomain.com should also resolve to the primary IP of your server
3) unless your server is actually the mailserver for that domain (eg you run exchange/kerio/zimbra etc) then its better to use something else eg server1.yourdomain.com, no other reason that keeping things consistant and descriptive
#3
Posted 11 February 2011 - 04:55 AM
Anthony, thanks so much for the advice. I will have to work on this.
Share this topic:
Page 1 of 1

Help
This topic is locked











