Question

Is it possible, using only Apache, to point a subdomain at a specific IP address?

We currently have a primary domain(www.example.com) with 250+ subdomains(site1.example.com, site2.example.com, etc). Due to rules regarding an SSL cert, we now have to place www.example.com on it's own IP address(although it still resides on the same server).

The subdomains are currently configured as alias records, so creating 250+ new A records for each subdomain would be a major hassle.

I would love an Apache-based solution to this problem so that I don't have to spend the rest of my day configuring DNS records.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top