WordPress.org

Ready to get started?Download WordPress

Forums

Sub Domain Does not Work. (11 posts)

  1. WC Master
    Member
    Posted 5 months ago #

    I have WordPress multisites.It is for free website creating directory.But sub domain does not work.i aspect ****.mysite.com but this is not working.

    My config.php
    =============

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'www.fearth.us');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    My htaccess
    ===========

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    what's the problem.
    Please suggest me.

  2. Stanley Fox
    Member
    Posted 5 months ago #

    What error do you get, when you go to your subdomain? Does it redirect you to your main page (mysite.com)?

  3. iamharish15
    Member
    Posted 5 months ago #

    In your wp-config.php file,you must also have this line:

    define( 'WP_ALLOW_MULTISITE', true );

    Just add this line also. I guess it should work.

  4. WC Master
    Member
    Posted 5 months ago #

    this line is also define
    define( 'WP_ALLOW_MULTISITE', true );

    but not yet.

    I want my site wordpress.com

  5. WC Master
    Member
    Posted 5 months ago #

    I want a automatic system for subdomain .Public can create sign my site and create a website.WordPress automatic create subdomain with wanted name.same as wordpress.com

  6. What error do you get, when you go to your subdomain? Does it redirect you to your main page (mysite.com)?

    Please answer that :)

  7. WC Master
    Member
    Posted 5 months ago #

    this sub domain does not load.i want my site as free website creating system as (wordpress.com)what c-panel option i need add?
    http://www.fearth.us

    user sign from my website page and automatic add this wanted subdomain in my c-panel.Please suggest me.

    Thanks All.

  8. this sub domain does not load

    That's not a WordPress error :)

    You need to contact your hosting provider and see what's going on. I'm getting no response at all from your domain.

    pnommensen:~# ping www.fearth.us
    ping: unknown host www.fearth.us
  9. manlivo
    Member
    Posted 5 months ago #

    Do you create subdomain *.domain.com? (If use cpanel)

  10. WC Master
    Member
    Posted 5 months ago #

    What can i for it.What c-panel option needed active.

  11. WC Master - You need to go into cpanel and click on SUBDOMAINS.

    In there, create a subdomain with a value of * (yes * )

    If that doesn't work, contact your host and ask them this: "How do I create wildcard subdomains?"

Reply

You must log in to post.

About this Topic