General set up question

Discussion in 'Databases' started by JamesB, Dec 24, 2007.

  1. #1
    Hi all.

    Most of what I have learned has been trial and error with plenty of error. I always thought that when setting up a database I would have to have the main site. For example mainsite.com then forward my other domains to that one like mainsite.co.uk mainsite.net etc.

    Last night I discovered that if on my hosting account I set up all the extensions with separate accounts, upload the files to them and use the same passwords as the database it will work. So all the .com .net and .co.uk feed (for want of a better word) of the database uploaded to the .com account.

    Is this the correct way to do things? Or is there another way?

    Thanks

    James
     
    JamesB, Dec 24, 2007 IP
  2. kendo1979

    kendo1979 Peon

    Messages:
    208
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    well, if all your domain are hosted on the same hosting account, a single database might work or it might not.

    some scripts stores configuration such as "domain name" or "script placement" on the database hence it might create error if you set up the database for www.mydomain.com and pull it up from www.mydomain.net

    but the general idea is correct. a database can be pull out to different domain on one hosting account as long as the host permit.
     
    kendo1979, Dec 27, 2007 IP
  3. JamesB

    JamesB Peon

    Messages:
    510
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks Kendo

    Nice one.

    James
     
    JamesB, Dec 28, 2007 IP