Substitution of Plesk administrated Webserver?

These are the available UI restore options from a NethServer on a contabo vps. They provide snapshots via web UI and I just want to host Nethserver so I don’t need the virtualization layer but as @Andy_Wismer mentioned, there should be packages by many providers.

This way you could easily restore a folder from /var/lib/nethserver/. For example mails are in /var/lib/nethserver/vmail or the vhosts are in /var/lib/nethserver/vhost or the mariadb databases are in /var/lib/nethserver/backup/mysql.

Thank you @Andy_Wismeran @mrmarkuz
Yes I can install Nethserver directly. Netcup offers the option to use an own installation image.
Is it possible to host multiple web servers within a single one installation?

@mrmarkuz
In my perception it is a prerequisite to use Backup this way is to know exactly which software package uses which path.

It seems even more complicated to me to have to manually enter which data you have to restore.
For me, this is highly error-prone.

In my opinion, the backup and restore should be designed in such a way that you can select what should be backed up and restored on a software pact-specific or domain-specific basis. As described above.

If I have secured domain#1 (consisting of
Configuration data,
scripts for the software (e.g. Wordpress)
Database(s)
MAil account(s)

I just want to be able to select the backup:
-restore the Wordpress database
-restore only the Wordpress scripts
-restore only the MAilaccount abc@domain.tld
-restore the whole Wordpress installation including scripts and database

etc.

This is what Plesk offers me in an excellent way and this is exactly what I miss in Nethserver.

Best regards, Marko

@capote

Hi

With Webservers, if any get’s compromised / attacked, it’s usually the whole server, so you need a “disaster recovery solution”. This is covered by NethServer.

You need backups of all sites. Also covered.

Mail is not quite that comfortable, but also possible (to some extent).

Websites, with different PHP Versions is also possible. And you can always run a VM if you need something special. NethServer is not as comfortable as Proxmox, but can run VMs quite comfortably. You can also use Docker for special stuff…

So it should work well. I also have NethServers running a few domains with mail.

My 2 cents
Andy

1 Like

ok, @Andy_Wismer. I will start an experiment.
best regards, Marko

1 Like

The server is up and initial configured, Backup included :slight_smile:

My first and certainly not last question concerns the network interface.
How I configure a local instance on the LAN is clear to me. But how is that for a web server at a provider with a public IP address?

Is my assumption correct that the server address must be configured as RED with the provider gateway? At least that’s what I have done now. But now I get to the dashborad of RED without being able to restrict authorized addresses. That somehow doesn’t feel good.

BTW:
During the installation I noticed a strange behaviour.

I always switch the keyboard to German and remove the US layout. The icon on the upper right side also signals this.


But during the password assignment for the root accout the keyboard layout is changed back to US as if by magic.


The icon changes back to US and the keyboard layout on the terminal is no longer correct.

@capote

Hi

See this:

This dummy Interface becomes GREEN, and the real NIC becomes RED.

It works, I’ve used that myself for OpenVPN…

Andy

1 Like

I used this how to and it worked well.
https://wiki.nethserver.org/doku.php?id=virtual_network_interface&s[]=dummy

But that does not really help me.

Once you have configured your server to your needs, disable access to the server manager from the red network by going to security → network services → httpd-admin and edit to disable access from the outside world.

Then add your home/office IP as a trusted network so only you can access the server manager. Go to security → trusted networks and add your home/office IP and subnet.

I cannot "add your home/office IP as a trusted network ", because my home IP is a dynamically assigned IP.

I would probably have to create a LAN on the green interface and dial in via a VPN. I have no other idea.

But I will put that on hold until everything else runs smoothly.
Best regards, MArko

Create a dummy Green interface is mandatory.
For accessing services, if you need only 1 computer to access NethServer OpenVPN is a quite fast setup; otherwise, IPSec allows better interoperability between NethServer and other devices like routers or firewalls.
Unless your home firewall is a Nethserver installation…

1 Like

of course, it is :slight_smile:
I use Nethserver as agteway and firewall at home.

Therefore OpenVPN as Net2Net connection between VPS and your home network is an option too.

1 Like

on my home Nethserver I configured VPN for dial in some clients to use my pihole. I’m not sure if I can implement both use cases.

Yes you can.
A RoadWarrior OpenVPN server and a separated OpenVPN Server for Net2Net connection. In the same installation.

https://docs.nethserver.org/en/v7/vpn.html#tunnel-net2net


(be kind, share some love with @giacomo too, i think it was head developer of that feature :wink: )

3 Likes

Sounds great. But currently I’m trying to understand how to get mail to run and set up a Wordpress installation.
I have done this many times in the past, but this knowledge is of no use to me now.

Use the wiki, @capote!
https://wiki.nethserver.org/doku.php?id=wordpress
(more Jedi Knight quote than padawan but… whatever)

1 Like

…of pfSense, or OPNsense, or…

I didn’t know that the same feature was available on that distros/projects.
Thanks for pointing that out.

7 posts were split to a new topic: nethserver-wordpress-AutoUpdater conflicts with nethserver-wordpress

Back to the topic…
Installation of Wordpress was finally quite easy. I do not know why I had difficulties.
The next step would be to get the mail server productive.

@stephdl @mrmarkuz
Follow up:
The WordPress-Installation with 3 different databases (WordPress, webtrees, Matomo) works fine for testing purposes or future staging. (wp.dargels.de) I also got the mail server on dargels.de running.
An important experience was that Duplicator does not work because it cannot handle 1.8 GB for my WordPress installation. I took UpdraftPlus instead. With this, I could easily restore an already existing backup from the remote storage.

Right now I would do the real migration of myancestry.de
The starting point is that the A-record still refers to the currently productive server. It seems that I first have to switch it off and change the DNS-Rocord to the new server and then continue. This does not allow an uninterrupted migration.

There are a lot of mail accounts assigned to this domain. How do I actually get the existing mails transferred?
Best regards, Marko