Title: Error when clearing Server IP
Last modified: November 5, 2025

---

# Error when clearing Server IP

 *  Resolved [mikepalmer](https://wordpress.org/support/users/mikepalmer/)
 * (@mikepalmer)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/)
 * Hi,
 * I have around 50 websites where I have defined Server IP in LiteSpeed -> General-
   > General Settings.
 * I need to clear the field because my host provider intends to migrate all my 
   sites to a new server. When I clear the field and save settings, I get the following
   error reported:
 * “You need to set the `Server IP` first. Please use the command `wp litespeed-
   option set server_ip __your_ip_value__` to set.”
 * If I save the page a second time, the field seems to be clear and there is no
   error reported on the second save. Therefore the save seems to have been successful,
   but I am concerned about the error. I don’t want to mess up 50 websites! Can 
   you advise please?
 * All the best, Mike.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/error-when-clearing-server-ip/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-when-clearing-server-ip/page/2/?output_format=md)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18707890)
 * were you changing at webpage ? or changing via WP CLI?
 *  Thread Starter [mikepalmer](https://wordpress.org/support/users/mikepalmer/)
 * (@mikepalmer)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18707903)
 * I was changing it on the website dashboard. The same error ocurrs on each website
   I try.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18707914)
 * I can’t reproduce on my test site
 * please create a ticket by mail to `support at litespeedtech.com` with reference
   link to this topic , we will investigate further.
 *  Thread Starter [mikepalmer](https://wordpress.org/support/users/mikepalmer/)
 * (@mikepalmer)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708423)
 * Email sent.
 * The error is readily reproducable with the following steps:
    - New WordPress installation (on a server with LiteSpeed web server in use)
    - Install and activate LiteSpeed Cache
    - In LiteSpeed Cache -> General -> General Settings set Servier IP to the IP
      Address of the server in use
    - Save Settings
    - Go back to LiteSpeed Cache -> General -> General Settings and delete the contents
      of the Server IP field
    - Save Settings
 * The following error is displayed at the top of the page:
 * You need to set the `Server IP` first. Please use the command `wp litespeed-option
   set server_ip __your_ip_value__` to set.
 * All the best, Mike.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708425)
 * > Go back to LiteSpeed Cache -> General -> General Settings and delete the contents
   > of the Server IP field
 * oh this part, now I understand, it doesn’t allow it to be empty once is configured,
   unless you delete the database row for this option
 *  Thread Starter [mikepalmer](https://wordpress.org/support/users/mikepalmer/)
 * (@mikepalmer)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708427)
 * Could you please specifiy exactly how you do that? I have 50 websites in which
   I want the Server IP cleared.
    -  This reply was modified 6 months, 3 weeks ago by [mikepalmer](https://wordpress.org/support/users/mikepalmer/).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708432)
 *     ```wp-block-code
       DELETE FROM wp_options WHERE option_name = 'litespeed.conf.server_ip';
       ```
   
 * you need to run this query in mysql client or phpmyadmin or something
 * but why don’t you just update it to new IP ? instead of delete it?
 *  Thread Starter [mikepalmer](https://wordpress.org/support/users/mikepalmer/)
 * (@mikepalmer)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708435)
 * Many thanks.
 * My hosting provider is not telling me the new IP Address until the day of the
   migration. I do not want to edit 50 websites then. I want to edit them now to
   make them independent of what server is used.
 * All the best, Mike.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708436)
 * [@mikepalmer](https://wordpress.org/support/users/mikepalmer/) is QC connection
   established?
 *  Thread Starter [mikepalmer](https://wordpress.org/support/users/mikepalmer/)
 * (@mikepalmer)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708440)
 * It is on the 50 websites in question; not on the website where I derived the 
   steps to reproduce.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708447)
 * [@mikepalmer](https://wordpress.org/support/users/mikepalmer/) I understnad you
   will have to update 50 sites. my question was:
   Does the error appear when connected
   to QC and you try to empty the Server IP?
 *  Thread Starter [mikepalmer](https://wordpress.org/support/users/mikepalmer/)
 * (@mikepalmer)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708450)
 * Yes
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708460)
 * [@mikepalmer](https://wordpress.org/support/users/mikepalmer/) removing the SERVER
   IP and getting that error do not stops the update.
   We added some way to show 
   user that SERVER IP is not filled ON CHANGE. That is why saving sevind time will
   not show the error message.I will talk to the develoeprs and see if we can improve
   the message
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708461)
 * Is there something else I can help you with?
 *  Thread Starter [mikepalmer](https://wordpress.org/support/users/mikepalmer/)
 * (@mikepalmer)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/#post-18708465)
 * Yes, I did notice that the server IP was deleted successfully despite the error
   message. (I was just somewhat concerned by the error message.)
 * Thank you for your help.
    -  This reply was modified 6 months, 3 weeks ago by [mikepalmer](https://wordpress.org/support/users/mikepalmer/).
    -  This reply was modified 6 months, 3 weeks ago by [mikepalmer](https://wordpress.org/support/users/mikepalmer/).

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/error-when-clearing-server-ip/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-when-clearing-server-ip/page/2/?output_format=md)

The topic ‘Error when clearing Server IP’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 16 replies
 * 3 participants
 * Last reply from: [litetim](https://wordpress.org/support/users/litetim/)
 * Last activity: [6 months, 3 weeks ago](https://wordpress.org/support/topic/error-when-clearing-server-ip/page/2/#post-18708518)
 * Status: resolved