Hi,
I'm having trouble getting my subdomain to work with couchcms inside my main domain that also has its own couch cms.
I have a domain where my main website resides, e.g., www.domain.com.au and www.domain.com.au/admin (where the couch cms is) and then I have set up a subdomain through my host called fwo. So it is www.fwo.domain.com.au, and the folder within public_html is fwo (www.domain.com.au/fwo). Then I have also installed couch cms in the subdomain folders as well.
When I go to www.fwo.domain.com.au/index.php it says "Could not connect to database Access denied for user 'user'@'localhost' (using password: YES). However if I put in the user details in config.php of the main domain admin the page loads. Which tells me it's looking for the main domain admin rather than the subdomain admin.
Is there something else I have to do when settying up the mysql database and user for subdomains?
I have also specified the url is config.php - define( 'K_SITE_URL', 'http://www.domain.com.au/fwo/' );
I have also tried changing this line in index.php to <?php require_once( 'fwo/admin/cms.php' ); ?>
Hope this all makes sense! Any help would be much appreciated!
I'm having trouble getting my subdomain to work with couchcms inside my main domain that also has its own couch cms.
I have a domain where my main website resides, e.g., www.domain.com.au and www.domain.com.au/admin (where the couch cms is) and then I have set up a subdomain through my host called fwo. So it is www.fwo.domain.com.au, and the folder within public_html is fwo (www.domain.com.au/fwo). Then I have also installed couch cms in the subdomain folders as well.
When I go to www.fwo.domain.com.au/index.php it says "Could not connect to database Access denied for user 'user'@'localhost' (using password: YES). However if I put in the user details in config.php of the main domain admin the page loads. Which tells me it's looking for the main domain admin rather than the subdomain admin.
Is there something else I have to do when settying up the mysql database and user for subdomains?
I have also specified the url is config.php - define( 'K_SITE_URL', 'http://www.domain.com.au/fwo/' );
I have also tried changing this line in index.php to <?php require_once( 'fwo/admin/cms.php' ); ?>
Hope this all makes sense! Any help would be much appreciated!