VPS.NET Cloud Community: Set up Multiple Domains on One IP? - VPS.NET Cloud Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Set up Multiple Domains on One IP? Rate Topic: -----

#1 User is offline   winter 

  • Member
  • PipPip
  • Group: Customers
  • Posts: 16
  • Joined: 16-November 10
  • LocationNYLA

Posted 10 February 2011 - 06:38 PM

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.
0

#2 User is offline   anthonysomerset 

  • On Cloud 9
  • PipPipPip
  • Group: Customers
  • Posts: 618
  • Joined: 16-September 09
  • LocationLondon, UK

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
0

#3 User is offline   winter 

  • Member
  • PipPip
  • Group: Customers
  • Posts: 16
  • Joined: 16-November 10
  • LocationNYLA

Posted 11 February 2011 - 04:55 AM

Anthony, thanks so much for the advice. I will have to work on this.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users