WordPress.org

Support

Support » How-To and Troubleshooting » pointing my domain to the correct database

pointing my domain to the correct database

  • I am using one and one for hosting of my sites. I have a couple of sites under the same account just using different databases. The problem is, when I installed it I pointed the domain to the database however I can’t just navigate to the main domain. I have to navigate to http://www.kapturephotographcincy.net/kapture/wordpress Is there any way to be able to just go to the main domain? Thanks for helping a new guy…

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you have more than one WordPress installation in the same domain, you can’t access all of them from going to the main domain, because some of them will be installed in folders under the main domain.

    Unless I don’t understand what you are asking for.

    Under the same account I have a few different domains. I have http://www.jasonlykinsphotography.com
    http://www.kapturephotographycincy.net
    http://www.jasonlykins365.com

    For the second domain I put wordpress under /kapture/wordpress
    and for the third domain I put it /jason/wordpress

    I did this because for the first domain I put wordpress under the root directory /

    For the main domain I can just type in the the url but for the second two I have to type in /kapture(or jason)/wordpress

    Am I able to make it so that I can type in just the url or do I need to have a separate account with one and one for each url?

    You would need to install the WordPress files in the ‘webroot’ of each of those domains. By webroot, I mean /jason or /kapture. So your /jason folder would have the wp-admin, wp-content, wp-includes folder for the WordPress install for that site.

    Just as a note, you don’t really point a domain to a database, you specify what database gets used in the wp-config.php file for each WordPress install. In theory, all your WordPress installs could use the same database as long as you set a different $TABLE_PREFIX in each of your wp-config.php files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘pointing my domain to the correct database’ is closed to new replies.
Skip to toolbar