# Clean install virtualmin on same server

**URL:** <https://forum.virtualmin.com/t/clean-install-virtualmin-on-same-server/119567>\
**Category:** Virtualmin\
**Created:** [March 5, 2023, 11:16am UTC](https://forum.virtualmin.com/t/clean-install-virtualmin-on-same-server/119567 "2023-03-05T11:16:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zmeutz](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/zmeutz/32/8479_2.png) [@zmeutz](https://forum.virtualmin.com/u/zmeutz)\
**Post date:** [March 5, 2023, 11:16am UTC](https://forum.virtualmin.com/t/clean-install-virtualmin-on-same-server/119567/1 "2023-03-05T11:16:58Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | CentOS Linux 7.9.2009 |
| Webmin version | 2.013 |
| Virtualmin version | 1.860 |
| Related packages | SUGGESTED |

Hi,

Is there any way to clean install of webmin/virtualmin?  
I have made a mistake to install it on local network for test, it was installed on 192.168.1.1 ip and now I can’t see it on internet, I can access it only on real ip, but on domain name doesn’t work.(dns has been changed)

on network interfaces - active now it looks like:  
[em1] Ethernet 1000Mb/s 192.168.1.108 255.255.255.0 fe80::efa6:afa7:1a37:e491 Up  
[em1:0]Ethernet (Virtual) 192.168.1.21 255.255.255.0 Up

I tried to change em1:0 to real ip but it doesn’t work…

It’s there any way to run configuration again, or network configuration?

Even if I try to create new server I get: Failed to work out externally visible IP address

Thanks!  
Stefan

---

<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 5, 2023, 8:08pm UTC](https://forum.virtualmin.com/t/clean-install-virtualmin-on-same-server/119567/2 "2023-03-05T20:08:43Z")

</div>

> [@zmeutz](#):
>
> I have made a mistake to install it on local network for test, it was installed on 192.168.1.1 ip and now I can’t see it on internet

Virtualmin does not “install on” an IP. It would be extremely silly to reinstall just because you changed the IP of the system.

You can change IPs of virtual hosts very easily, there’s a page for it in Addresses and Networking-\>Change IP Addresses.

---

<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 5, 2023, 8:11pm UTC](https://forum.virtualmin.com/t/clean-install-virtualmin-on-same-server/119567/3 "2023-03-05T20:11:35Z")

</div>

Of course, you should also check to be sure Virtualmin is using the IP you want. Run Re-check configuration, and if it’s not the right IP, you’ll wan to go to Virtualmin Configuration-\>Networking Settings to give it some clues about what you want.

---

<div class="post-metadata">

**Author:** ![zmeutz](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/zmeutz/32/8479_2.png) [@zmeutz](https://forum.virtualmin.com/u/zmeutz)\
**Post date:** [March 12, 2023, 10:46am UTC](https://forum.virtualmin.com/t/clean-install-virtualmin-on-same-server/119567/4 "2023-03-12T10:46:00Z")

</div>

Yes, you have right, I already tried this, with IP Change but domain still doesn’t want to load virtualmin interface …

on domain I already create dns, ns1 and ns2 with server ip, but I still get error to load page…

I can access server from real ip, dns service it’s started… everything seems to be ok …  
I was thinking is more easier to try clean install and to install it from real IP address and not local IP address … because on network interface I still have local ip’s.

Thanks!

---

<div class="post-metadata">

**Author:** ![Gomez\_Adams](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gomez_adams/32/3221_2.png) [@Gomez\_Adams](https://forum.virtualmin.com/u/Gomez_Adams)\
**Post date:** [March 12, 2023, 11:33am UTC](https://forum.virtualmin.com/t/clean-install-virtualmin-on-same-server/119567/5 "2023-03-12T11:33:18Z")

</div>

> [@zmeutz](#):
>
> on domain I already create dns, ns1 and ns2 with server ip, but I still get error to load page…

The name servers you set up aren’t propagating. That’s the problem.

It’s either that or you haven’t pointed your domains from your registrar to your nameservers. If you have in fact done that, the easiest way to fix it is to use Cloudflare for your DNS.

The fellow in the thread below had the same issue you do. He swore he had his nameservers and DNS set up properly. Turns out, he didn’t.

I told him to use Cloudflare and it’d be fixed in 10 minutes. He did eventually and it was.

> [@Nameservers not working on 2nd domain added to VPS as a new virtual server](https://forum.virtualmin.com/t/nameservers-not-working-on-2nd-domain-added-to-vps-as-a-new-virtual-server/119415):
>
> So I added custom name servers and set my glue records at my domain register fine and my primary domain and it’s subdomains are working and propgating fine on my VPS. I however am having a issue that when I add a new domain as a new virtual server I can not get the nameservers to work. I tried 2 methods. I tried using the same nameserver as my first domain on the VPS. For this method I just changed the name server at the registrar on the new domain and added the NS servers to the DNS entry …

---

<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:** [March 20, 2023, 11:33am UTC](https://forum.virtualmin.com/t/clean-install-virtualmin-on-same-server/119567/6 "2023-03-20T11:33:46Z")

</div>

Closed on March 20, 2023, 11:33am UTC

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