How do I set up wildcard subdomains?

Category: How To

cannonfodder
Asked:
2012-02-10 12:18 pm EST

Hits: 2,883
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.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

Tim S.
Staff
9,967 Points
2012-02-10 12:46 pm EST
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

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!