How do I set up wildcard subdomains?

Avatar
  • Answered
I need to allow multiple members to point to my site by setting a subdomain in their DNS to point to my IP. Within my site, I look at the request's full host name (e.g.: sub.domain.com) and apply a unique template for each registered member, or return a "Server not Found" for non-members. This allows pages to display using their page theme and their domain within the URL.

In the past, using my own internal server, I could just set the default Apache web site to handle this, or set a site using a different IP.

There are too many members to consider building and updating a list of aliases. Also, it looks very awkward to try this through cpanel.

I have a vps server, and can get a second IP. The other option I see is getting full root access and making modifications to the system. I would prefer not to do this, as I am pleased with the current support.
Avatar
Tim S.
Hi cannonfodder, Thanks for posting your question. I'm more than happy to assist you. I'm having trouble following your post but it sounds like you want to set up wildcard subdomains. Here's an article on setting up wildcard subdomains. If you decide you want root access, you can request this through AMP. Here's an article explaining root access. If you need further assistance please feel free to contact us. Thanks! Tim S