Cirkus Serveri Forum
    • CoD4xAdmin
    • Recent
    • Popular
    • Groups
    • Users
    • Register
    • Login

    Webadmin As Main Domain & Fast Download.

    Scheduled Pinned Locked Moved
    Support
    2
    5
    340
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SMiLeYS
      SMiLeY
      last edited by

      Hi All,

      I have now configured the webadmin so the it is my main domain name. https://fmjcod4.com/

      All is fine and all working great but now I cannot get the fast download to work.

      Normally it would be fmjcod4.com/download/cod4/ for example...but since now the webadmin is the main domain name this does now work. I know some of you here have the webadmin also as a main domain and hoping that I can get an idea whats wrong and how I can fix this. Hoping it is something simple and I have just missed it.

      I am using NGINX and a proxy vhost to get the webadmin working. I need a vhost for download also maybe?

      Thanks in advance.
      Smiley.

      NeHoN 1 Reply Last reply Reply Quote 0
      • NeHoN
        NeHo Administrators @SMiLeY
        last edited by NeHo

        create a symlink

        ln -s /home/cod4/main-server-files/mods /var/www/yourdomain.com/html/public
        

        after that use your main domain in server.cfg

        I keep hitting the 'Escape' key - but I'm still here. ...

        1 Reply Last reply Reply Quote 0
        • SMiLeYS
          SMiLeY
          last edited by

          Hi NeHo thanks for the reply.

          The 'whole mod' is in the mods folder (with server side files) I have separated those in the past. Would the client not then download 'all' in the mod folder? Or do they get what is needed. I dont want clients getting my server side files.

          And I obviously do a symlink for usermaps also.

          1 Reply Last reply Reply Quote 0
          • NeHoN
            NeHo Administrators
            last edited by

            It will only download the mod files, you can always test it

            I keep hitting the 'Escape' key - but I'm still here. ...

            1 Reply Last reply Reply Quote 1
            • SMiLeYS
              SMiLeY
              last edited by

              I did it slightly different but symlinked as you suggested. Made a vhost and all working great.

              I must say that nginx (once you know what you are doing - I don't yet fully) is much better!!. The download is much faster. Everything seems 'smooth'

              Thx Again for a point in the right direction. Appreciated.

              1 Reply Last reply Reply Quote 1
              • First post
                Last post

              0

              Online

              191

              Users

              268

              Topics

              1.2k

              Posts
              Powered & Designed by NeHo