The MU forums have moved to WordPress.org

Subdomain Problems (5 posts)

  1. tomba
    Member
    Posted 17 years ago #

    Can anybody help with this, i hust have read a few topics and i don't have see any like i want.

    I have my site in http://www.domain.com
    and have created a subdomain like blog.domain.com
    i upload the scrip to the subdomain, i provide to my hosting administrator the follwing

    In the directive of your virtual host, look for this line \"AllowOverride None\" and change it to \"AllowOverride FileInfo Options\"

    In the section of the config file for your host there will be a line defining the hostname. You need to add the following if you want virtual hosts to work properly: \"ServerAlias *.blog.domain.com\".

    But they don't provided this for me.

    mod_rewrite it's works and wildcars have added to blog.domain.com,

    But i create the bloguser like bloguser.blog.vilareal.tv, everythings is ok, but a can't acess to the url bloguser.blog.vilareal.tv.

    The all things must be ok, i can go to administration, i cant had new user, new blog, everything, but i can't acess to the userblog url.

    Anybody can take a help please

  2. zeug
    Member
    Posted 17 years ago #

    "But they don't provided this for me."

    If you can edit the dns zone for your domain where your subdomain is configured then you can add:

    *.subdomain TTL in cname domain.

    as well as the httpd.conf serveralias wildcard for the subdomain. It's pretty easy really.

    But if you can't edit those and your ISP won't add wildcards to both the dns zone and the Apache serveralias then you can't use subdomains. You can install a subdirectory Mu though, or get a better ISP :)

  3. drmike
    Member
    Posted 17 years ago #

    Part of the issue may also be that you state you installed the software as http://www.mydomain.com. It's needs to be installed as mydomain.com without the 'www' bit. Subdomains come off of what you use as a URL. if you include the 'www' bit, you're going to wind up with username.www.mydomain.com.

  4. tomba
    Member
    Posted 17 years ago #

    Can you tell me what is really

    the httpd.conf serveralias wildcard for the subdomain?

    thanks

  5. lunabyte
    Member
    Posted 17 years ago #

    I'm guessing you're on shared hosting, so you'll have to ask your host to make the edit for it.

    Tell them you need a wildcard server alias (*.domain.tld, with your domain of course) enabled for your virtual host.

    They may or may not make the change. If not, you can't run a subdomain install and would have to use subdirectories instead.

About this Topic