First of all I'd like to say that I have very minimal knowledge in this field.

I am trying to install a software on my centos and it requires me to have 2 subdomains, saas.domain.com and base.domain.com(repository).

I have a VPS and it has 1 ip, so now my question is do I need to have more ips because of subdomains?

Can I just create 2 A records for these sub domains and point both of these to the same VPS ip?
Weirdly I am afraid that both the subdomains would show the same page due to ip being same.

Thanks a lot.

submitted by /u/et-nad
[link] [comments]