Jump to content
WebFlake
  • 0

Portal/blog in main domain and forum in subdomain


RomanPL

Question

5 answers to this question

Recommended Posts

  • 0

I will quote staff from official forum.

Quote

The answer is....both yes and no.

IP.Content includes a custom index.php that can be used outside of your forums to load it. This lets you run IP.Content at domain.com and the forums at domain.com/forums (or forums.domain.com). In theory, you could technically run this custom index.php from domainx.com while the forums are at domainy.com, however the two domains would need to be pointed to the same server and domainx.com would need to be able to include and read/write files at domainy.com (the special index.php is not completely stand alone - it still needs to load the IP.Board framework files). This would require special permission setup on the hosting side.

As you noted, you would not be able to login to domainx.com. IP.Board only has one configuration option for the cookie domain, so it would set cookies for domainy.com always. This would severely limit the capabilities of IP.Content running at domainx.com (since no one would ever be able to login to it).

If we are talking about subdomains (domain.com and forums.domain.com) that should work fine. Some AJAX functionality would not work from IP.Content (because of cross-domain javascript restrictions), however work arounds for that have been added to IP.Content 2.3.0 (currently in alpha stages).

 

P7qpgZ5.jpg

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...