I have a web service that serves widgets. It is hosted on a server under server1.mydomain.com. (Linux, plesk, VPS)
I would like to have more physical servers which will be accessed via server2.mydomain.com etc.
Note that its actually the same domain name pointing to another physical server.
This configuration also has to support SSL.
My questions are:
- Can this be done using DNS configuration?
- What are the DNS settings of both servers required to achieve this?
- Can SSL certificate be applied to different servers with same domain name as described above? Can it be done with multiple subdomains SSL certificate?
Thanks!
Yes. You can use a DNS provider like dnsmadeeasy.com to set up “A records” for each server. Each A record specifies the hostname like server2 and the IP address.
See above.
Yes. You’ll need to buy a wildcard certificate. http://www.digicert.com has reasonable prices on wildcard certificates. You can install the cert on any server using your domain.