Bobcares

How to change IP address in Webmin – Related issues and fixes for you

by | Apr 27, 2019

The IP address of the server needs to be changed when the IP address gets blacklisted or when you migrate the current server to a new server and much more.

Webmin has features to change the IP address but it may not work as we expected.

Furthermore, you may face many errors in your website and emails after changing the IP address because of the bad server settings.

That’s why we often get requests from our customers to fix errors related to IP address change in Webmin as part of our Technical Support Services.

 

Why change the IP address?

There are also times your IP address needs to be switched to a new one. This includes,

  1. When the IP address gets blacklisted
  2. After migrating the old server to the new server
  3. When needing a new server set up
  4. Switch to another IP address when the server has multiple IP addresses.

However, when you switch the IP address, it can affect the website and emails. Because the IP address is specified in your web server settings and in email client settings.

In addition, it is very simple to change the IP Address in a Linux operating system using Webmin web-based application.

Let’s see how our Support Engineers changed the IP address in Webmin.

 

How to change the IP address in Webmin

To change the IP address,

1. We logged into Webmin clicked on Networking menu on the left panel.

2. Here we just click on Network Configuration.

3. Then select Network Interfaces for setting up new IP address configuration.

4. Here we click on enp0s3 network interface for new IP address configuration.

(it can be named in many ways, including eth0, enp0s1, ig0 and so on, and your system may have more than one adapter)

5. Now, here we have five changes for new IP address configuration.

  1. Select Yes to enable the Network Interface and activated on boot.
  2. Select Static Configuration option in IPV4 address section.
  3. After selecting the static configuration, we enter the static IP address on IPV4 Address field.
  4. Then enter Subnet Mask on Netmask field (eg: 255.255.255.0).
  5. Finally enter the Broadcast address (eg: 192.168.1.255). Most probably Broadcast address is taken by the system automatically.

After all, save the settings.

6. Then, go to Routing and Gateways, select the previously configured interface name from the dropdown and enter the correct Gateway IP address in the field.

7. Click Save and go back to the main screen.

8. Click on Apply Configuration button.

We verified the IP Address of the system just by running the below command.

ifconfig

Now, we have configured a new IP address by using Webmin.

 

How we fixed change IP address related issues in Webmin

Here, we see how our Support Engineers fixed “Webmin change IP” related issues.

Webmin not working

Recently, one of our customers contacted us with an issue related to Webmin. He reported that after changing the old IP to a new IP using Webmin, he was unable to connect to the Webmin using the new IP.

Then our Support Engineers took the following steps to fix the problem

1. We checked the log file /var/log/webmin/miniserv.log to identify the problem and found that the new IP address was not configured in /etc/webmin/miniserv.conf file

2. Log into Webmin and go to Addresses and Networking -> Change IP Addresses, and there we can change references to the old IP address to the new one.

3. Finally rebooted the server.

That’s it, now the problem fixed.

 

Can’t log in to Webmin: getting error Secure Connection Failed

Similarly, another customer had an “Error: Secure Connection Failed” issue when trying to login to Webmin. Then our Support Engineers fixed the issue by

1. We checked the log file /var/log/webmin/miniserv.log. We identified that the problem was related to services on the server

2. So, we stopped and restarted the service as follows.

/etc/webmin/stop

/etc/webmin/start

Finally, we fixed the issue in a short time.

 

[Having issues related to change the IP address in Webmin? We can fix it for you.]

 

Conclusion

In short, it is very easy to change the IP address by using Webmin. In addition, we also need to change the configuration settings. Today, we saw how our Support Engineers changed the IP via Webmin and solved related issues.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF