# LEMP to LAMP and vica versa

**URL:** <https://forum.virtualmin.com/t/lemp-to-lamp-and-vica-versa/136574>\
**Category:** Help! (Home for newbies)\
**Created:** [February 8, 2026, 12:02pm UTC](https://forum.virtualmin.com/t/lemp-to-lamp-and-vica-versa/136574 "2026-02-08T12:02:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [February 8, 2026, 12:02pm UTC](https://forum.virtualmin.com/t/lemp-to-lamp-and-vica-versa/136574/1 "2026-02-08T12:02:12Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Ubuntu Linux 24.04.3 |
| Webmin version | 2.621 |
| Usermin version | 2.521 |
| Virtualmin version | 8.0.1 GPL |
| Theme version | 26.22 |
| Nginx version | 1.24.0 |
| Package updates | All installed packages are up to date |

ok, i know this is a choice when starting a clean install

but is there any way of going back (without total destruction of the VM) and just changing the webserver choice. I know you cannot have both - that is **not** what is wanted.

---

<div class="post-metadata">

**Author:** ![jimr1](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/jimr1/32/14173_2.png) [@jimr1](https://forum.virtualmin.com/u/jimr1)\
**Post date:** [February 8, 2026, 3:18pm UTC](https://forum.virtualmin.com/t/lemp-to-lamp-and-vica-versa/136574/2 "2026-02-08T15:18:37Z")

</div>

you can do it, but it is slightly involved, as long as you know about the command line to install & configure stuff also know how webmin/virtualmin works (under the hood).  
This problem I have done but it was not that easy, that said you could write a script to automate it

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [February 8, 2026, 4:35pm UTC](https://forum.virtualmin.com/t/lemp-to-lamp-and-vica-versa/136574/3 "2026-02-08T16:35:39Z")

</div>

nice to know - but sounds even more complicated than a simple destroy and reinstall from scratch. it is not helped by the machine is managed on an external supplier (Hostinger) who seem to control everything (hostname, DNS, etc …)

---

<div class="post-metadata">

**Author:** ![jimr1](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/jimr1/32/14173_2.png) [@jimr1](https://forum.virtualmin.com/u/jimr1)\
**Post date:** [February 8, 2026, 4:40pm UTC](https://forum.virtualmin.com/t/lemp-to-lamp-and-vica-versa/136574/4 "2026-02-08T16:40:55Z")

</div>

> [@Stegan](#):
>
> control everything (hostname, DNS, etc …)

never used them however I would be surprised if you could not alter the domains name servers to point to a dns server running on a webmin installation (domain settings). I have come across VPS suppliers that dont allow you to change the host name (VPS settings) .. tbf I have no idea what settings would be in etc

---

<div class="post-metadata">

**Author:** ![unborn](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/unborn/32/23353_2.png) [@unborn](https://forum.virtualmin.com/u/unborn)\
**Post date:** [March 28, 2026, 1:01am UTC](https://forum.virtualmin.com/t/lemp-to-lamp-and-vica-versa/136574/5 "2026-03-28T01:01:14Z")

</div>

**is there any way of going back (without total destruction of the VM) and just changing the webserver choice**

no - configs are totally different plus if you know how both runs - its no.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [March 28, 2026, 1:47am UTC](https://forum.virtualmin.com/t/lemp-to-lamp-and-vica-versa/136574/6 "2026-03-28T01:47:33Z")

</div>

There’s always a way. But, it’s harder to do that than make backups, start fresh, and restore backups.

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [March 28, 2026, 10:33am UTC](https://forum.virtualmin.com/t/lemp-to-lamp-and-vica-versa/136574/7 "2026-03-28T10:33:00Z")

</div>

that was the end result (far from ideal) i simply went with a more reliable VM supplier that i had previous experience with. 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 5, 2026, 10:33am UTC](https://forum.virtualmin.com/t/lemp-to-lamp-and-vica-versa/136574/8 "2026-04-05T10:33:28Z")

</div>

Closed on April 5, 2026, 10:33am UTC

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
