What does it take to use Surfer as a “real” multidomain surfer?
-
www.example.com -> /app/data/public/example.com/index.html
www.example.org -> /app/data/public/example.org/index.htmlBoth on the same app instance. Will it work?
-
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.
-
G girish marked this topic as a regular topic
-
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).
-
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).
@luckow +1. Use surfer for lots of static, low traffic sites. It's great!
-
@luckow what is the main issue to not install distinct surfer apps for each domain, if they serve up different content anyways? the surfer app container should be very low on memory usage, disk images are anyways shared and cpu wise it also wouldn't register for low-traffic.
Is this maybe a UI issue where it gets confusing in the dashboard or login wise into 10s of surfer instances?
-
@luckow what is the main issue to not install distinct surfer apps for each domain, if they serve up different content anyways? the surfer app container should be very low on memory usage, disk images are anyways shared and cpu wise it also wouldn't register for low-traffic.
Is this maybe a UI issue where it gets confusing in the dashboard or login wise into 10s of surfer instances?
@nebulon True. Resource wise, surfer is very minimal. I have like 5 surfer apps, RAM idles around 50-80MB and 0.1% CPU if that, lol. It would be nice to have them all consolidated for a cleaner UI. Surfer is awesome. Thanks for creating it, Johannes!
-
@luckow what is the main issue to not install distinct surfer apps for each domain, if they serve up different content anyways? the surfer app container should be very low on memory usage, disk images are anyways shared and cpu wise it also wouldn't register for low-traffic.
Is this maybe a UI issue where it gets confusing in the dashboard or login wise into 10s of surfer instances?
@nebulon Thank you for your question. I spent a moment thinking about my “true motivation”. In the end, it's more of a UI issue. 10 applications for lame static web pages. Some of them with only one html file. As for resources, I'm totally with @humptydumpty. Lol.
But I feel a bit stressed when I see 10 apps that mean nothing to me. They only exist because of that one html file. They interfere with my daily life as an admin on one Cloudron instance.
On another Cloudron instance I have only one tile: LAMP calledmultisite
and that feels more comfortable. -
@nebulon Thank you for your question. I spent a moment thinking about my “true motivation”. In the end, it's more of a UI issue. 10 applications for lame static web pages. Some of them with only one html file. As for resources, I'm totally with @humptydumpty. Lol.
But I feel a bit stressed when I see 10 apps that mean nothing to me. They only exist because of that one html file. They interfere with my daily life as an admin on one Cloudron instance.
On another Cloudron instance I have only one tile: LAMP calledmultisite
and that feels more comfortable.@luckow said in What does it take to use Surfer as a “real” multidomain surfer?:
In the end, it's more of a UI issue
Second this. One surfer instance for these things is just much easier to monitor too.
-
So an order and folder function for app elements in the dashboard would be the feature request I guess.
Having the ability to stuff "background" apps like Synapse, Valheim or TeamSpeak into a folder and forget about it.
Same with the 10x Surfer problem. All into a folder. Out of sight, out of mind. -
So an order and folder function for app elements in the dashboard would be the feature request I guess.
Having the ability to stuff "background" apps like Synapse, Valheim or TeamSpeak into a folder and forget about it.
Same with the 10x Surfer problem. All into a folder. Out of sight, out of mind.@james said in What does it take to use Surfer as a “real” multidomain surfer?:
Out of sight, out of mind.
-
So an order and folder function for app elements in the dashboard would be the feature request I guess.
Having the ability to stuff "background" apps like Synapse, Valheim or TeamSpeak into a folder and forget about it.
Same with the 10x Surfer problem. All into a folder. Out of sight, out of mind.@james Maybe this could be useful resource wise too. IDK if it works this way, perhaps a dev can explain but if each surfer app idles at +50MB. Would stacking all the sites on a single surfer app bring down the overall RAM usage? For example, 50 MB RAM x 10 surfer apps = 500 MB vs. having them stacked in a single surfer app that would have 50MB RAM usage only. Food for thought. If it's the latter, then any cheap hosting plan could work for basic sites/businesses.
-
So an order and folder function for app elements in the dashboard would be the feature request I guess.
Having the ability to stuff "background" apps like Synapse, Valheim or TeamSpeak into a folder and forget about it.
Same with the 10x Surfer problem. All into a folder. Out of sight, out of mind.@james said in What does it take to use Surfer as a “real” multidomain surfer?:
folder function for app elements in the dashboard
Hey, now you're on to something.
Folders would be great and serving multiple needs
For me personally the dashboard filter doesn't really hit the mark.
Yes, it does work, so no complaints.But having a folder which I could put all apps for a domain, now that would really help overcome "can't see wood for trees" syndrome. I have 130 apps deployed.
In some cases I might want to group apps by ephemeral criteria not available in dashboard filters, such as "fringe".
Tags go some way to this, but a folder would be neat.