WordPress.org

Support

Support » Multisite » 3.0 multisite as subdomains without wildcard DNS?

3.0 multisite as subdomains without wildcard DNS?

  • Hi,

    Can’t seem to learn the answer to this. It was asked by someone else but there was no complete answer.

    I want to do a multisite setup using subdomains but my host, 1&1, does not allow wildcard DNS on a shared plan.

    Is there a workaround to do this by “manually creating” them in the DNS without wildcard DNS? I was thinking that I could manually “point” (via CNAME or something?) each subdomain to the main domain…is possible?

    Thanks!

Viewing 15 replies - 1 through 15 (of 47 total)
  • Theoretically, yes.

    Hi andrea_r,

    Thanks for getting back to me. I saw you gave a similar reply to someone else, but I was wondering if you could possibly spell out the steps one would have to take to do this? I’m not a total noob, but definitely not a programmer or dba, either.

    So, if I have multisite enabled on domain.com, what would I do in the DNS settings in a shared hosting environment to try and set this up?

    Thanks!

    Yes please, detailed instructions would be most helpful, thank you Andrea.

    I third (?) this. andrea_r, please I, xiabolai and Ambergris75 are begging (or at the very least, pleading) you to make a somewhat step-by-step-like guide for us to follow.

    I, for one, have no knowledge at all on DNS, redirects, “DNS pointers” (got this from an IRC chat at #wordpress). Any detailed information would be really helpful.

    Do you know how to setup a subdomain in Cpanel? that is all you do. Tell it the home folder is your WP folder, not a new one. No dns magic involved.

    I’d answered the OP in another thread.

    If you can not use wildcard dns

    *.domain.com > YOUR IP ADDRESS

    then just create a record (I use A records) for each subdomains pointing to your IP address.. Not sure is it’s the right way but it works…

    If you have a control panel (plesk, cpanel, direct admin) you can normally do it in there.

    But the *.yourdomain.com IS a wildcard.

    And it’s not just the DNS record. For those who do not have it, their webhost is not putting the wildcard record in Apache, which is also needed.

    For those who have it, their webhost already put it in place.

    > But the *.yourdomain.com IS a wildcard.

    sorry I thought we had established that above…

    >their webhost is not putting the wildcard record in Apache

    not sure why mine works then as I have not added anything to Apache

    > But the *.yourdomain.com IS a wildcard.

    sorry I thought we had established that above…

    the users above *can’t* use wildcards. They want to know how to put in mysubdomain.theirdomain.com.

    >their webhost is not putting the wildcard record in Apache

    not sure why mine works then as I have not added anything to Apache

    Are you running your own server? If not, your host took care of that part already.

    the users above have hosts that will not put this in, that’s what the thread is for.

    the users above *can’t* use wildcards. They want to know how to put in mysubdomain.theirdomain.com.

    yes I know that, thats why I said

    If you can not use wildcard dns

    then gave the example of wildcard dns..

    Are you running your own server?

    yes, so please for every one that needs it, can you explain what we have to put in Apache and where to put it..

    Moderator Jan Dembowski

    @jdembowski

    Volunteer Mod. & Brute Squad

    yes, so please for every one that needs it, can you explain what we have to put in Apache and where to put it..

    Hey Alan. Humor me: what is your evironment? Apache2 via Ubuntu? I’m asking because I’m running vhosts on that environment and it’ll be easier to walk you through it.

    Less so if you’re on another setup 🙂 I’m on Ubuntu 10.4 LTS but this also works for Ubuntu 8.05 LTS. Same configs.

    Do you know how to setup a subdomain in Cpanel? that is all you do. Tell it the home folder is your WP folder, not a new one. No dns magic involved.

    Unfortunately, DreamHost uses its own Web Panel to manage accounts. This is what the “add domain/subdomain” page looks like.

    When you say “tell it the home folder is your WP folder”, do I change the “web directory” (under “fully hosted”) to have “domain.com” instead of “sub.domain.com”?

    Because I tried doing that and it just refuses to create the subdomain.

    Moderator Jan Dembowski

    @jdembowski

    Volunteer Mod. & Brute Squad

    When you say “tell it the home folder is your WP folder”, do I change the “web directory” (under “fully hosted”) to have “domain.com” instead of “sub.domain.com”?

    You may want to give Dreamhost a call. You don’t really want to add a new web host, you want to add an alias to the existing one that you have setup. That PNG looks like it’s for setting up new web hosts separate from the existing one.

    Follow up to that~

    I talked to a representative who seemed to know what he was doing. He doesn’t know why I can’t modify the “web directory” and create the subdomain directly.

    What we had to do was park the domain first, then go in and edit the web directory. Seems to work so far. Now I just need to enable multisite (I’m really apprehensive though) and see if it works all the way.

    Edit: I just **a* myself. It worked! Hopefully the memory usage doesn’t increase so much that DreamHost will kill me for not being on a VPS. Does anyone know if MS is as memory-intensive as WPMU?

    Hey Alan. Humor me: what is your evironment? Apache2 via Ubuntu? I’m asking because I’m running vhosts on that environment and it’ll be easier to walk you through it.

    I have Apache2 on centos

    Everything works, and that is what is confusing me. I have not added anything to Apache..

    I want to make sure I have got things setup right so it doesn’t just stop working in the future..

    Obviously something needs to be added somewhere but I can not find in the docs what to add where… I have added wildcard DNS if that helps.

Viewing 15 replies - 1 through 15 (of 47 total)
  • The topic ‘3.0 multisite as subdomains without wildcard DNS?’ is closed to new replies.