Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

How to change the IP address for a domain / all domains in Plesk

 
dnsdomain namedomainsgohosting

Question

How to change the IP address for a domain / all domains in Plesk?

Answer

  1. Log in to Plesk.

  2. Go to Domains > example.com > Hosting & DNS tab > Hosting.

  3. Scroll down to the IP Addresses section and select the required IP address.

  4. Click Save to apply the changes.

 

Command-line instructions:

Changing the IP address for one domain

 

  1. Connect to the Plesk server via SSH.

  2. Execute the following command:

    • to change IPv4 only:

      # plesk bin subscription --update example.com -ip 203.0.113.3

      where:

      • example.com - domain name

      • 203.0.113.3 - new IP address

    • to change IPv4 and IPv6:

      # plesk bin subscription --update example.com -ip 203.0.113.3,2001:db8:f61:a1ff:0:0:0:80

      where:

      • example.com - domain name

      • 203.0.113.3 - new IP address

      • 2001:db8:f61:a1ff:0:0:0:80 - new IPv6 address

 

 (Linux) Changing the IP address for all domains

 

  1. Connect to the Plesk server via SSH.

  2. Generate a list of all subscriptions:

    # plesk bin subscription --list > /root/subscriptions.txt

  3. (Optional) Open the file /root/subscriptions.txt in a text editor and remove subscriptions, IP address of which should not be changed.

  4. Execute the following command:

    • to change IPv4 only:

      # cat /root/subscriptions.txt | while read i; do plesk bin subscription -u $i -ip 203.0.113.3 ; done

      where:

      • 203.0.113.3 - new IP address
    • to change IPv4 and IPv6:

      # cat /root/subscriptions.txt | while read i; do plesk bin subscription -u $i -ip 203.0.113.3,2001:db8:f61:a1ff:0:0:0:80 ; done

      where:

      • 203.0.113.3 - new IP address

      • 2001:db8:f61:a1ff:0:0:0:80 - new IPv6 address

 

 (Windows Server) Changing the IP address for all domains

 

  1. Connect to the Plesk server via RDP.

  2. Start PowerShell as an Administrator.

  3. Generate a list of all subscriptions:

    PS plesk bin subscription -l > C:subscriptions.txt

  4. (Optional) Open C:subscriptions.txt and remove subscriptions, IP address of which should not be changed.

  5. Execute the following command:

    • to change IPv4 only:

      PS more C:subscriptions.txt | % { if ($_) { plesk bin subscription --update $_ -ip 203.0.113.3 } }

      where:

      • 203.0.113.3 - new IP address
    • to change IPv4 and IPv6:

      PS more C:subscriptions.txt | % { if ($_) { plesk bin subscription --update $_ -ip 203.0.113.3,2001:db8:f61:a1ff:0:0:0:80 } }

      where:

      • 203.0.113.3 - new IP address

      • 2001:db8:f61:a1ff:0:0:0:80 - new IPv6 address

 

(Linux) Changing the IP address for all domains assigned to a specific IP address

 

In the example below, the subscriptions that are assigned to IP address 203.0.113.2 will be switched to new IP address 203.0.113.4.

Note: In case there are resellers using IP address 203.0.113.2, launching the command below will lock them and they will not synchronize with their Service Plans.

  1. Connect to the Plesk server via SSH.

  2. Generate a list of all subscriptions which are currently assigned to a specific IP address (in this example, it is 203.0.113.2):

    # plesk db -Ne "select d.name from IP_Addresses ipa join IpAddressesCollections ipac on ipac.ipAddressId=ipa.id join DomainServices ds on ds.ipCollectionId=ipac.ipCollectionId join domains d on d.id=ds.dom_id join Subscriptions s on s.object_id=d.id where ds.type='…

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Securing the WordPress Frontier with WP Guardian

Read More »

Introducing WP Guardian Vulnerability Protection: Now available for WP Toolkit

Read More »

How to Host a Go App on Plesk

Read More »
Knowledge Base

How to rename a domain in Plesk

Read More »

The domain’s DNS Settings menu in Plesk shows a false-positive warning: “Your website is offline”

Read More »

How to disable web statistics in Plesk?

Read More »

Cannot remove IP address from Plesk server: The IP address 203.0.113.2 is already used for hosting

Read More »

Hosting Wiki

  • Django
  • Server Redundancy
  • Linux Containers
  • Google Cloud CDN
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • JavaScript
  • MongoDB
  • Domain
  • Hosting Control Panel
  • Plesk
  • Web Server
  • Static DNS
  • DNS Server
  • DNS Forwarding
  • Reverse DNS
  • IPv6
  • IPv4
  • SIP
  • SSH
  • UDP/IP
  • Colocation Hosting
  • Reseller Hosting
  • Cloud Hosting
  • VPS Hosting
  • Dedicated Hosting
  • Shared Hosting
  • Free Hosting
  • Managed Hosting
  • TCP/IP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family