• Cat

    (@mvankampen)


    Hi there folks,

    Is it possible to install the WordPress files on a different domain than were the database and tables are?
    This because example.nl is managed by our IT-partner who is developing our online application (running on subdomains) and we are the owner/manager of example.com where we have access to SQL.

    So can I create the database and tables for WordPress on example.com and run the website at example.nl ? (without using a redirect because we want our visitors to be on example.nl and not .com)

    • This topic was modified 7 years, 4 months ago by Cat.
Viewing 1 replies (of 1 total)
  • osbulbul

    (@coderontheroad)

    Hello @mvankampen,

    Of course you can do that ??

    You just need the type IP address of the MySQL server instead of ‘localhost’ while installing WordPress. Or you can change this line from wp-config file;
    define ( 'DB_HOST', 'localhost' );
    with
    define ( 'DB_HOST', '192.168.0.0' ); //IP address of the server where MySQL is running
    But the problem in here is not about files server, it’s about database server. The MySQL server should be given permission for access for external connections.

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress files different domain than tables?’ is closed to new replies.