WordPress.org

Ready to get started?Download WordPress

Forums

Want to make a Subdomain website in wordpress in my existing website (4 posts)

  1. kuratwordpress
    Member
    Posted 6 months ago #

    Hi!
    I am having a main site http://www.kuratentp.com in which I have made two sites of wordpress in my FTP (/www) folder as (valve) and another as (dustpan) both are working as bellow :

    1) http://www.kuratentp.com/valve
    2) http://www.kuratentp.com/valve/dustpan

    As now I want to make a subdomain website which subdomain I have already created in my control panel by name of instrumentationfittings.kuratentp.com
    This time in my FTP, I have made folder in public_html as (/public_html/instrumentationfittings)and also downloaded/installed wordpress

    So I want to creat a subdomain for my new website in wordpress as:
    instrumentationfittings.kuratentp.com

    Kindly let me know which is the best way to make it and how?

    Bellow is the multisite script of my wp-config.php of http://www.kuratentp.com/valve

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'www.kuratentp.com');
    define('PATH_CURRENT_SITE', '/valve/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    /* That's all, stop editing! Happy blogging. */
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
            define('ABSPATH', dirname(__FILE__) . '/');
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');
  2. Well, I wrote an entire step by step guide for this and then I realized that your main site is not WordPress, oops! :) To map a WordPress sub-directory like http://www.kuratentp.com/valve (that belongs to a network) to a subdomain the WordPress installation must be in the root of the web directory. If it's not then the WordPress MU Domain Mapping won't work.

    Warning! This plugin will only work if WordPress is installed in the root directory of your webserver. It is currently installed in ’/valve/’.

  3. kuratwordpress
    Member
    Posted 6 months ago #

    So now how can i do it? If i install another wordpress in (/www) root directory, can it will work out my new site instrumentationfittings.kuratentpcom

    Or if i transfer all my wordpress file from valve folder and put outside, then i think both my wordpress site will effect:-
    1) http://www.kuratentp.com/valve
    2) http://www.kuratentp.com/valve/dustpan

    Kindly guide me how should I work out.
    Meanwhile I don't want to touch the above both sides,
    Just want to make a new word press site with sub-domain if possible.
    Please elaborate...

  4. So you've created the subdomain in your control panel and it/you created the folder it's pointed to, like /public_html/instrumentationfittings. Then follow these instructions: http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install

Reply

You must log in to post.

About this Topic