Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Where do I point a CMS to find my database?
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Where do I point a CMS to find my database?
Where do I point a CMS to find my database?
26-05-2009 8:49 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi, just installing Wordpress to test as a blog system for a client, in the config.php file, I need to point it to my database. The trouble is, where do I point it to?
I'm on humbug, in case that helps. I had a look at the PAYH service, but since I do not regularly check the forums (as you can tell), it looks like I'm too late to sign up for free.
The code snippet is as follows:
Thanks in advance all,
Mike
I'm on humbug, in case that helps. I had a look at the PAYH service, but since I do not regularly check the forums (as you can tell), it looks like I'm too late to sign up for free.
The code snippet is as follows:
/** MySQL hostname */
define('DB_HOST', 'http');
Thanks in advance all,
Mike
Message 1 of 6
(1,744 Views)
5 REPLIES 5
Re: Where do I point a CMS to find my database?
26-05-2009 9:21 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi there,
Just change 'http' to 'humbug' in the snippet there. You'll also need to change similar lines for DB_NAME, DB_USER and DB_PASSWORD.
HTH
Just change 'http' to 'humbug' in the snippet there. You'll also need to change similar lines for DB_NAME, DB_USER and DB_PASSWORD.
HTH
Message 2 of 6
(697 Views)
Re: Where do I point a CMS to find my database?
26-05-2009 9:27 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks for your quick reply, Ben. Much appreciated!
Message 3 of 6
(697 Views)
Re: Where do I point a CMS to find my database?
26-05-2009 10:02 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Another quick question: I've set WordPress up, all is working well. But to view it obviously I require the URL 'http://ccgi.username.plus.com/'
I noticed a guide on the WordPress site that enables users to move WordPress into a separate directory to the root directory in order to reduce clutter. The guide is as follows:
I would sooner have the URL as 'http://www.username.plus.com/blog', but this won't work for us CCGI Plus users, will it? Am I right in saying PHP will not parse unless it's installed on the CCGI server? So I need to keep the WordPress core files the directory in 'http://ccgi.username.plus.com/' for it to keep working.
I think I may purchase a new host, as it seems to be more awkward working with Plus.com's hosting than a dedicated host.
Cheers,
Mike
I noticed a guide on the WordPress site that enables users to move WordPress into a separate directory to the root directory in order to reduce clutter. The guide is as follows:
Quote The process to move WordPress into its own directory is as follows:
1. Create the new location for the core WordPress files to be stored (we will use /wordpress in our examples). (On linux, use mkdir wordpress from your www directory. You'll probably want to use "chown apache:apache" on the wordpress directory you created.)
2. Go to the General panel.
3. In the box for WordPress address (URL): change the address to the new location of your main WordPress core files. Example: http://example.com/wordpress
4. In the box for Blog address (URL): change the address to the root directory's URL. Example: http://example.com
5. Click Update Options. (Do not worry about the error message and do not try to see your blog at this point! You will probably get a message about file not found.)
6. Move your WordPress core files to the new location (WordPress address).
7. Copy the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address).
8. Open your root directory's index.php file in a text editor
9. Change the following and save the file. Change the line that says:
require('./wp-blog-header.php');
to the following, using your directory name for the WordPress core files:
require('./wordpress/wp-blog-header.php');
10. Login to the new location. It might now be http://example.com/wordpress/wp-admin/
11. If you have set up Permalinks, go to the Permalinks panel and update your Permalink structure. WordPress will automatically update your .htaccess file if it has the appropriate file permissions. If WordPress can't write to your .htaccess file, it will display the new rewrite rules to you, which you should manually copy into your .htaccess file (in the same directory as the main index.php file.)
I would sooner have the URL as 'http://www.username.plus.com/blog', but this won't work for us CCGI Plus users, will it? Am I right in saying PHP will not parse unless it's installed on the CCGI server? So I need to keep the WordPress core files the directory in 'http://ccgi.username.plus.com/' for it to keep working.
I think I may purchase a new host, as it seems to be more awkward working with Plus.com's hosting than a dedicated host.
Cheers,
Mike

Message 4 of 6
(697 Views)
Re: Where do I point a CMS to find my database?
26-05-2009 10:21 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
You are right, PHP will only work on the CCGI platform, and not your 'normal' webspace. If you have a domain on your account you can point it at the CCGI platform, but unfortunately you can't point www.username.plus.com there.
Message 5 of 6
(697 Views)
Re: Where do I point a CMS to find my database?
26-05-2009 10:25 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
OK, thanks Ben. This is just for testing purposes so I can set one up for a private client, so it shall do for my development needs for now.
Thanks again,
Mike
Thanks again,
Mike
Message 6 of 6
(697 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Where do I point a CMS to find my database?