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

Addon as subdomain

Discussion in 'XenForo Development Discussions' started by allewreK, Jul 28, 2013.

  1. allewreK

    allewreK Active Member

    Hello,

    My whole forum is using classic URLs, as an example, my resource manager is at board.com/resources.

    But I would like, for some specifics add-on (we will call it videos as an example), to make this addon available at videos.board.com only. And there would be a redirection from board.com/videos to videos.board.com.

    I saw something like this at DigitalPoints, example : https://tools.digitalpoint.com/.

    Best regards.
     
    Marcus likes this.
  2. Sheratan

    Sheratan Well-Known Member

    http://xenforo.com/community/threads/1-2-rc1-sub-domain-as-route.55217/

    I tried to do the same right now, but had no luck.

    Reading what digitalpoint said:

    http://admin-talk.com/threads/digitalpoint-now-running-xenforo.42829/page-2#post-484932

    And I'm not a PHP expert anyway. :D
     
    Brandon Sheley likes this.
  3. allewreK

    allewreK Active Member

    @digitalpoint, have you found a new way to do it ? If yes or no, could you release the actual "hack" you are using ?
     
  4. digitalpoint

    digitalpoint Well-Known Member

    Nope, still doing it the retarded way unfortunately...
     
  5. AndyB

    AndyB Well-Known Member

    Curious what advantages there are to having the URL as videos.board.com as opposed the the default board.com/videos.
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    Personal preference, but for the majority of resources, it won't give any structural differences. Digital Point has several sub-sections to a lot of his sections, so placing them in a separate "site" (ie, tools.digitalpoint.com) allows a structural methodology shift.
     
  7. digitalpoint

    digitalpoint Well-Known Member

    Let's you more easily use different servers for different parts of site since you can resolve a sub-domain to a different IP... Beyond that, it's just personal preference.
     
    AndyB and Jeremy like this.
  8. allewreK

    allewreK Active Member

    With that you can host the video addon on an other server.
     
    AndyB likes this.

Share This Page