The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
If so, what is the address of the Database for Freeola accounts??
If so, what is the address of the Database for Freeola accounts??
I tried running a Script to open a connection to the Database, and was told "Access denied for user".
From what I gather, the name of the Database is a Users ID, and the standard localhost, username, password is needed to connect. Why am I given this error message???
Freeola MySQL is for use with web sites hosted at Freeola.
Regards,
Danny
Being able to connect from a different account on Freeola is good enough :)
Any chance we may see the ability to host multiple Domains on one account anytime in the near future though, just to make things easier, rather than having every Domain point to the same index file, I mean.
1. Create some subfolders in your htdocs folder in your webspace for each of the different websites and upload the files for those websites into the appropriate subfolder.
2. Copy and paste the code below into a text editor such as Notepad on
a PC or BBEdit on a Mac.
3. Replace "domainX" domain name here with you are hosting on your account.
EXAMPLE:
if($HTTP_HOST == 'www.bob.com') { $site ="www.bob.com/bob"; }
You can add more or delete any of the "if" lines as needed from the script.
4. Save the document as index.php (ALL lowercase letters).
5. Upload the index.php page to your web space making sure that you put it
inside the htdocs directory.
---------------copy below this line---------------
if($HTTP_HOST == 'www.domain1.com') { $site ="www.domain1.com/domain1"; }
if($HTTP_HOST == 'www.domain2.com') { $site ="www.domain2.com/domain2"; }
if($HTTP_HOST == 'www.domain3.com') { $site ="www.domain3.com/domain3"; }
if($HTTP_HOST == 'www.domain4.com') { $site ="www.domain4.com/domain4"; }
// etc etc etc
header("Location: http://" . $site);
?>
---------------copy above this line---------------
Thanks for that :)