Webserver Documentation?

NethServer Version: 8
Module: webserver

I’m currently evaluating a possible (manual) migration from SME (Koozali) server to a clean NS8 due to the infamous CentOS EOL issue, but am currently having some issues getting the web server working. The documentation in the manual is extremely sparse, and doesn’t adequately describe how to set this up. It look like SFTPGo is needed to upload files to the server. But it (at least web interface) will only handle a maximum of 30 files. Also can’t use sftp to upload - it just fails. At any rate, I havn’t been able to get anything but 404 response to my html. I should mention that my test bed doesn’t allow me to assign sub domains (eg, I can set it up to resolve server.local, but not eg www.server.local). I tried setting up a route from www.server.local to server.local/www but I just get the 404. Is this due to my DNS setup, or is there a work-around ? Thanks

Hi @rpfeifer

And welcome to the NethServer community!

NS8 really NEEDs correctly working DNS!

My 2 cents
Andy

WHile attempting to answer a related question here Install a customized app Espo CRM - Howto - NethServer Community

I found myself in a similar problem.

I tried to Upload a zipped file, only to find out that there was no unzip option on the UI.
My last resort was to Wget the file i need into the webserver folder, as visible from the webserver, volumes sections. worked well quite actually.

MAybe this might be an option you can look into using, i however faced some eprmissions issues, that i have been unable to fix with my current knowow, maybe you can work worund them.

I concur with you, the Documentations for webserver is abit Sparse

Thanks for the replies. I’ll try to set up a better test bed for this.

One more question - is it possible to create a web site without creating a virtual host, so that I can access it at (using previous example) just https://server.local ?

Also, on a related note - when I port forward my HTTP ports on my firewall, are NS admin pages acessible from the outside ?

Thanks

that https://server.local must also be defined as a virtualhost.

the only way of you deploying any app and having it resolve without creating a virtualhost, is if the website is a NS8 App.

Ok, thanks. I have been using an external DNS, but it doesn’t provide the flexibility I need to do this. Guess I’ll need to set up NS DNS to make this work properly.

You can use any dnsmask like on your lan to give dhcp ip address with dns record

Your sme server can do this for you

This a howto to install a wordpress with mariadb

Relevant to the maximum of 30 files for sftpgo. Yes it is a limit but you can overcome this limit with any othe mr sftp client software or by CLI

Could you please dumb this down for me, NS8 edition with filezilla, av been trying with no success, are there permissions or settings to enable on ns8? Work maybe even firewall…

Use the port of sftpgo 3092 by default with the fqdn. Should work

Look the howto I put the cli example