1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Will XF run fine if you have people browsing from two domains?

Discussion in 'XenForo Questions and Support' started by matthewalan, Jul 1, 2011.

  1. matthewalan

    matthewalan Active Member

    I've been working on a project site with some friends for a while and it's a website for teenagers, the problem is the current domain could get some teenagers in trouble at their home. I was wondering if there is a way to put another domain on top of the current one?

    For example, I want domain1.com and domain2.com. I want users to be able to browse one forum from both domains. I was thinking of using cpanel and adding a parked domain(or addon, not sure which is which off the top of my head). I know that would work for the most part, but how would it affect images and cookies and all the other parts of the board?

    So my question is, would that work? Would I be able to have two domains running side by side and let users access which ever domain they would like too?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Yes that will work. Cookies are a concern though.

    Cookies will work on both domains without any special configuration, but they will remain separate. For example, if you login from domain1 and then visit domain2 then you will have to login again. Everything will work fine as long as you don't change domains while browsing. All internal links will be consistent with respect to the domain name you used to enter the forum. But beware of user links in posts and whatnot.

    Also be aware that registration and subscription emails use the Board URL when linking back to the forum, so those links will only use one domain:

    Admin CP -> Home -> Options -> Basic Board Information -> Board URL
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Can multiple domains or subdomains be used with a single license?
    Yes, as long as the domains or subdomains all resolve to the same installation, all of the content is available at every domain or subdomain, and there is no attempt to make them appear as separate installations.

    http://xenforo.com/community/threads/pre-sales-faq.4951/
     

Share This Page