Forums

[resolved] Masking Domains in Subfolders (18 posts)

  1. webmasterdrake
    Member
    Posted 10 months ago #

    Unfortunately I think I know the answer to this, hoping someone know something I don't.

    I've got multisite set up as well as domain mapping. I don't have a main site domain name (hoping I won't have to) but I do have an IP address (http://174.129.36.66). I set up my multisite as subfolders instead of subdomains. I've got a couple domains set up and they are going to the correct blog site (http://bikesantaclarita.com and http://cresttocoast.com).

    I would like to mask these domains but all the documentation I've found is by using CNAMEs to point to the subdomains. This leads me to believe I cannot mask using subfolders.

    If this is the case, how can I change my network to subdomains? Since I don't have any content I'm more than happy to delete the sites and recreate as subdomains, if that's possible.

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    You can domain MAP subfolders via the http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/ plugin though I don't know if that works with IP address installs.

  3. webmasterdrake
    Member
    Posted 10 months ago #

    I've got them mapped fine...it's the masking I need help with.

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    if you use the plugin I listed, it does that. :) It handles the masking.

  5. Andrea_r
    team pirate
    Posted 10 months ago #

    Yes, use the domain mapping plugin. Subfolders does not matter.

    What host are you on?

  6. webmasterdrake
    Member
    Posted 10 months ago #

    That is the very same plugin I'm using. I don't see any setting pertaining to domain masking.

    I am on my own EC2 instance.

  7. webmasterdrake
    Member
    Posted 10 months ago #

    I guess I should be more clear as to what I want.

    I've set up a primary domain as santaclaritawp.net (which incidentally is not showing up anywhere, a new issue I guess). Currently, when someone types in http://bikesantaclarita.com they get http://174.129.36.66/biketaskforce/

    I would like them to see http://bikesantaclarita.com.

  8. Andrea_r
    team pirate
    Posted 10 months ago #

    look under the sub sites domain mapping menu. Tick the box to make sure it uses the domain name.

    You also have to make sure you're pointing the domain properly to the web host, and that it's being sent to the right folder on the server.

  9. webmasterdrake
    Member
    Posted 10 months ago #

    Here are my current domain mapping settings http://twitpic.com/5w8zup. I'm not sure which of the 5 would be the tick box to use the domain name.

    As far as pointing the domain, I assume it's working since http://bikesantaclarita resolves to http://174.129.36.66/biketaskforce. Is there something else I need to set at the registrar (GoDaddy) to get it to work?

  10. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    On the menu, under 'Domain mapping', is 'Domains.' What do you have for bikesantaclarita.com?

  11. webmasterdrake
    Member
    Posted 10 months ago #

    I've run into a strange issue. When trying to get back to my network admin area the Network Admin link wants to take me to http://174.129.33.66/wp-admin/network and it should be http://174.129.36.66/wp-admin/network

    I'm wondering if at some point I entered the IP wrong and now there seems to be no way to change it? ALL other links seem to be ok.

    Argh!

  12. webmasterdrake
    Member
    Posted 10 months ago #

    Strike that last issue, I'm lame...now back to our regularly scheduled issue...

    For bikesantaclarita under domains I have:

    Site ID: 9
    Domain: bikesantaclarita.com
    Primary: No
    Edit
    Delete

  13. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    And when you mapped bikesantaclarita.com, did you map it to http://174.129.36.66 or http://174.129.36.66/biketaskforce/ ?

    If you mapped to http://174.129.36.66/biketaskforce/ change that to just http://174.129.36.66/ - With the plugin, WP becomes smart enough to parse.

    (it sounds more like you POINTED the domain to http://174.129.36.66/biketaskforce/ ... parked it maybe? And that one of your A or C names is incorrect)

  14. webmasterdrake
    Member
    Posted 10 months ago #

    At GoDaddy I changed the A record for bikesantaclarita.com to 174.129.36.66.

  15. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    Turn on Permanent Redirect. This makes your subdomain or subdirectory sites redirect to their domains.

    That said, have you read this: http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/

  16. webmasterdrake
    Member
    Posted 10 months ago #

    Ahhh, ok. Didn't realize that each site had it's own domain setting under tools. I set bikesantaclarita.com as the primary and it seems to be working (in IE at least, weird error in FireFox)!

    Last issue...I can't seem to set the domain for the primary site (blog #1). I've tried adding it through domains using ID 1 but it just doesn't show up. I've also noticed that the Tools > Domains area is not available for the default site. Granted, I won't be using the default blog for the foreseeable future, but I'd like to get it off the IP if possible.

    Thanks for all of your help!!!

  17. Andrea_r
    team pirate
    Posted 10 months ago #

    .I can't seem to set the domain for the primary site (blog #1).

    You don't, And you can't. You're supposed to install the main site under the domain you want for that site.

    If you want a full TLD for the main site... edit it in the db.

  18. webmasterdrake
    Member
    Posted 10 months ago #

    Thanks again Adrea_r and Ipstenu!

Reply

You must log in to post.

About this Topic