HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Multi-Site Networking

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#35656 (In Topic #8038)
Joe
Avatar

Honoured member

Confused

How exactly do I setup an M.S.N.?

I installed ocPortal on another server and I told the installation that I'd be joining an existing community, and it said that choosing this would require more settings which I never came across. The site I want to join is my main site, which uses IPB… will I still be able to go through with this even though I'm not using OCF?

Back to the top
 
Posted
Rating:
#35667
Avatar

The additional settings would have been the ability to specify a separate forum database (usually you only specify one shared for both forums and site). You create the MSN by having multiple sites using the same forum database details, which works for OCF or any other supported forum.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#35671
Joe
Avatar

Honoured member

So all I need to do is edit the info.php file?

Also, is there a script that can find out the actual hostname you're using? I've never put in a different host other than 'localhost', and putting just the domain for the host doesn't work. :/

Back to the top
 
Posted
Rating:
#35676
Avatar

1) You couldn't edit the info.php after installing because the installer needs to initially set ocPortal up for the forum you're using.

2) I'm not sure I understand what you mean here. Couldn't you just look into the config file to see what you're already using? However, in mySQL 'localhost' does have a special meaning - it skips the whole networking thing and forms more direct internal connections to the database.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#35681
Joe
Avatar

Honoured member

My main site is hosted on one server, and the site I want to share the Database with is on a completely different server.

The main site uses 'localhost' as the hostname, but I can't use 'localhost' for the other site that's on a completely different server, because the two sites wouldn't be sharing a MySQL Database. This being said, the main site will need to use 'localhost' (it's already set for this), and the second site needs to know the hostname for the server that the main site is hosted on.


Back to the top
 
Posted
Rating:
#35683
Avatar

Aha. mySQL needs to be given permission for any particular computer to access it's database; only 'localhost' has that permission by default.
Well, that's kind of true. The reality is that each username in mySQL is tied to a particular computer, and the usernames on your server's mySQL will all be tied to 'localhost'. There's either a different set of usernames for each computer accessing the database, or the usernames are set up to provide a wildcard access.
The problem with all this is that you probably don't have access to make these kind of changes. However, even if you did, I'd advise strongly against it because unless these servers are on the same LAN, inter-server communication latency will slow the website down to a crawl.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: