How do Managed hosting companies create unique static ips for users to connect A Records? Google Cloud

73 Views Asked by At

I have a service where I build websites for clients and host them on my Kubernetes cluster on Google GKE.

My question is how do hosting platforms automatically assign unique IPv4 IPS to connect A records for each registered user?

My current setup is every single site connects their A records to my load balancers 1.2.3.4.5.6 IP. Recently I learned doing this is bad for SEO for the sites.

One solution I have is to Reserve unique ips for each website through Google Cloud then forward them to my loadbalancer is this a good, scalable solution, or how large hosting companies with millions of unique sites do it? or is there an alternative?

Potentially I can have 100's or thousands of reserved IPS for each website

1

There are 1 best solutions below

0
James S On

Per @JohnHanley 's answers to your questions:

Using one IP for multiple websites is very common. Search engines are smart enough to know the difference.

  1. Large corporations do not allocate multiple IP addresses unless absolutely necessary.
  2. Google Cloud has a quota for IP addresses which can be increased.
  3. Just deploy an HTTP load balancer with multiple frontends. Each frontend has its own global IP address.
  4. Deploying multiple IP addresses is very easy to do, given the extreme shortage of address space, there are zero good reasons to do it.