Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Surfer
  3. What does it take to use Surfer as a “real” multidomain surfer?

What does it take to use Surfer as a “real” multidomain surfer?

Scheduled Pinned Locked Moved Surfer
5 Posts 4 Posters 103 Views 4 Watching
  • 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.
  • luckowL Offline
    luckowL Offline
    luckow
    translator
    wrote last edited by
    #1

    www.example.com -> /app/data/public/example.com/index.html
    www.example.org -> /app/data/public/example.org/index.html

    Both on the same app instance. Will it work?

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    2
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @luckow
      Indeed, I found nothing in the documentation for surfer https://docs.cloudron.io/packages/surfer/ regarding "real" multidomain hosting.
      I will relay this question, and hopefully it can be answered soon.

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote last edited by
        #3

        I guess we have to implement this . In conversation in the past, @nebulon was reluctant to make surfer as some advaced Apache/nginx. I think he thought it was slippery slope to add vhost to Surfer and then we have to implement all the apache/nginx vhosting options .

        If you want vhosting, have you considered LAMP app? You can then set up a apache config to route serving of pages to whichever subdirectory you want . I think @robi had a config for this some time ago.

        1 Reply Last reply
        1
        • girishG girish marked this topic as a regular topic
        • luckowL Offline
          luckowL Offline
          luckow
          translator
          wrote last edited by
          #4

          I really like using Surfer for static websites. It's a nice little thing that does one job brilliantly. The reality is that I have a lot of domains with few pages and little traffic. Installing an instance of Surfer for each domain is not viable. If there is currently no option for multidomain, I will temporarily switch to LAMP because of the configuration options with RewriteEngine. The moment Surfer has the multidomain feature built in, I'll switch back (because of the fat stack in LAMP, which I don't need).

          Pronouns: he/him | Primary language: German

          andreasduerenA 1 Reply Last reply
          3
          • luckowL luckow

            I really like using Surfer for static websites. It's a nice little thing that does one job brilliantly. The reality is that I have a lot of domains with few pages and little traffic. Installing an instance of Surfer for each domain is not viable. If there is currently no option for multidomain, I will temporarily switch to LAMP because of the configuration options with RewriteEngine. The moment Surfer has the multidomain feature built in, I'll switch back (because of the fat stack in LAMP, which I don't need).

            andreasduerenA Offline
            andreasduerenA Offline
            andreasdueren
            wrote last edited by
            #5

            @luckow +1. Use surfer for lots of static, low traffic sites. It's great!

            1 Reply Last reply
            1
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search