WP Hive » Installation and Configuration

Pointing Sub-Domain to Main Installation

(11 posts)
  • Started 3 years ago by sommernyte
  • Latest reply from filmoreha

  1. sommernyte
    Member

    Can someone please tell me how the domain pointing is supposed to be set up WITHOUT referencing cPanel or other such control panels? I gather it's not a 301 redirect, but other than that, I can't figure out from the documentation or forums what type of redirect you are all actually setting up.

    Thanks!

    Posted 3 years ago #
  2. ikailo
    Developer

    The only way to point the domain is by using an interface to the webserver which can vary depending on the OS, type of webserver, or the company doing the hosting. CPanel is one of the most common so that's why it's most commonly referred to here.

    The best place to get this information is from your website host. You would be looking to create an "addon domain", "subdomain", "secondary domain" (or something to that effect) that points to a specific folder on the server.

    Or it might be worthwhile to post here who your host is, and maybe someone will be able to provide help for your specific case.

    Posted 3 years ago #
  3. Cris
    Member

    I'd like to try the hive plug-in on one domain that currently has two subdomains associated with it. The hosting service I use is dreamhost. Do you have any specific information how I point a subdomain to a folder on the main WP installation?

    Also, can I use Dreamhost's one-click installs? This makes it easier for me to update WP.

    Thanks,
    Cris

    Posted 3 years ago #
  4. cyri
    Member

    To set up the domain pointing with Dreamhost, you go to the Manage Domains area, then Click on Add New Domain / Sub Domain button (located top center of page).

    Fill in the Fully Hosted section fields and in the "Specify your web directory" field, enter the directory where you have your main (first) installation of wp-hive.

    If the site you would like pointed to your wp-hive is already hosted by Dreamhost (as in your case I think), you can skip the Add New Domain / Sub Domain part and from the Manage your Domains area, instead just go to the domain (or sub domain) you want pointed, click on "Edit" in the Hosting column, then fill in or modify the "Specify your web directory" field so that it's the domain name where your first wp-hive install is in.

    I was also a bit confused initially by how to set up the domain pointing and tried the above out with my Dreamhost account and it worked fine right away with the couple of blogs I tried to set up with the wp-hive plug-in and approach... really impressed with this plug-in.

    I don't think you need to use Dreamhost's one click installs once you start using wp-hive since once you do the domain pointing and go to that domain or sub domain, it begins the one click install I think.

    I'm still learning this myself but hope this helps out.

    Posted 3 years ago #
  5. TACD
    Member

    I'm having a similar problem, using NearlyFreeSpeech.net, who provide a very minimal admin frontend for such things. I don't believe they support pointing subdomains to URLs... does this mean WP Hive just won't work?

    Posted 3 years ago #
  6. wwday3
    Member

    TACD, it should work for a "regular" (or "main") domain if you can link a directory to the domain. (i.e. - newdomain.com linked to /wp-hive directory).

    If your host does not allow you to do the same thing for a sub-domain, then you're stuck as far as the sub-domain is concerned. But, you could still use wp-hive for the main domain and any other main domains you have. Or, you can switch to another host.

    Posted 3 years ago #
  7. TACD
    Member

    Wow, thanks for the swift response!

    No, I can't do any sort of pointing of directories to domains beyond creating .htaccess files, and I don't reallt fancy registering lots of new domains or changing hosts. I guess I'll try the subdomain option of WordPressMU, even if it might be hideously overpowered for my needs.

    Thanks anyway!

    Posted 3 years ago #
  8. ikailo
    Developer

    I think that no matter what software you use (WPHive, WPMU, VMB), the web host needs to support sub domain pointing in order to use that feature.

    The web server needs to recognize the (sub)domain name and forward it to the appropriate directory. Unless there is an entry specifically for "subomain.domain.com" on the server, it is supposed to reject the request.

    Posted 3 years ago #
  9. drey
    Member

    For the pointing, do you need wildcard settings to work?
    My host provider is one.com, they provide subdomains in the form of "create a folder in the root with a index.html in it, and that becomes a subdomain".
    is the equivalent of cPanel a DNSpanel? there i can add web alias, web forward, A, CNAME... i tried the webforward, but what it does is that is simply redirects from newblog.mysite.com to mysite.com
    I have wordpress in a folder in the root called 'blog', but the index file is in the root. So i made the webforward, and when i type newblog.mysite.com/blog/wp-admin/install.php it only transforms to mysite.com/blog/wp-admin/install.php and it says that the installation is already present...
    Any suggestion/comment?

    Posted 3 years ago #
  10. drey
    Member

    in case anybody has any lust in checking the One.com DNS system, the support of One for DNS is at One DNS support
    I have so NO clue of the A and CNAME options, and of what they mean... :(

    Posted 3 years ago #
  11. filmoreha
    Member

    I was also confused about this, but once I thought about it, it made sense. You need to create the subdomain with its document root pointing to your original wordpress folder.

    The third post in the following thread summarizes it nicely:

    http://wp-hive.com/forums/topic.php?id=21

    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.