How to Add IP Addresses to Server with cPanel WebHost Manager (WHM)如何添加IP地址的服務器的cPanel網頁主機服務經理(的WHM )
cPanel WebHost Manager (WHM) allows system administrators or webmasters to easily add additional new IP address to the server or web host.的cPanel網頁主機服務經理(的WHM ) ,讓系統管理員或網站管理員,以輕鬆添加額外的新的IP地址向服務器或Web主機。 If your dedicated server or VPS (Virtual Private Server) comes with extra IP addresses, and your web hosting provider does not assign and configure the IP addresses automatically onto the server, the following guide describes procedures and steps to add more IP addresses to the server.如果您的專用服務器或電子道路收費(虛擬專用服務器)附帶額外的IP地址,和您的Web託管服務提供商並不分配和配置IP地址自動上服務器,下列指南描述的程序和步驟要添加更多的IP地址到服務器。
- Login to cPanel WebHost Manager (WHM) on the server.登錄的cPanel網頁主機服務經理(的WHM )在服務器上。
- On the left pane, navigate to IP Functions menu, and then click on Add a New IP Address link.在左窗格中,瀏覽到的IP的功能菜單,然後單擊就添加一個新的IP地址鏈接。

- Enter the IP address in the IP(s) to add field.輸入IP地址,在IP ( )新增欄位。 Although the link says A IP Address, you can easily submit multiple or more than one IP addresses to be added to the server at once.雖然連結說, IP地址,您可以輕鬆地提交多個或一個以上的IP地址被添加到服務器上一次。 For more than 1 IP address, specify in Class C CIDR format or 192.168.0.1-254 format.以上的1個IP地址,指定在C類cidr格式或192.168.0.1-254格式。 For example, 192.168.4.128/25, 192.168.3.5-10, 192.168.99.55-230.舉例來說, 192.168.4.128/25 , 192.168.3.5-10 , 192.168.99.55-230 。
- Alter the subnet mask default value of 255.255.255.0 to the valid value for the IP address(s) in the Subnet Mask field, if required.改變子網掩碼默認值為255.255.255.0 ,以有效價值的IP地址( s )在子網掩碼外地,如果需要。 Normally this value will be provided by your hosting provider.通常這個值將提供您的託管服務提供商。
- Click on Submit button (for cPanel 11) or Do it (for cPanel 10 or older).請點擊提交按鈕(為的cPanel 11 )或做它(的cPanel 10或以上) 。

- cPanel will add each IP address per line into /etc/ips config file.的cPanel會添加的每個IP地址每行成的/ etc /新聞通訊社的config檔。 You can now use the new additional IP addresses just added to host your websites.現在,您可以使用新的額外的IP地址,只是添加到您的網站主機。
- Note that IPs are configured by using IPaliases cPanel startup script located in /etc/init.d/ipaliases.請注意,新聞通訊社配置使用ipaliases的cPanel啟動腳本,位於/ etc / init.d /的ipaliases 。 If you turn off the service (it’s enabled by default), cPanel won’t be able to manage the IPs automatically at system boot.如果您關閉該服務(它的默認啟用) ,的cPanel將無法管理的IPS自動在系統開機。
So, if you don’t see your new IP addresses after adding it, try to restart IPaliases service.因此,如果您沒有看到您的新的IP地址後,加入它,請嘗試重新啟動ipaliases服務。 Login to server OS shell via SSH, and run the following command:登錄到服務器操作系統殼通過SSH ,運行以下命令:
service ipaliases restart服務ipaliases重新啟動
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明 :這是一個機器翻譯網頁是“按原樣”提供的擔保。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article原來的英語文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和貢獻,或取得技術的支持和幫助,在 My Digital Life Forums 我的數字生活論壇 . 。
Related Articles相關文章
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache的地位(的WHM服務器的地位)在網頁主機的cPanel經理回報的空白頁
- cPanel Invalid License File After Changing Hostname Error的cPanel無效的許可文件後,改變主機的錯誤
- cPanel WHM Failed to Receive Status Information From Apache Error的cPanel的WHM沒有收到狀態信息從Apache的錯誤
- How to Change Hostname in cPanel Web Host如何改變主機的cPanel在Web主機
- Restore Full Backup or cpmove File in cPanel Web Host恢復完整備份或cpmove文件中的cPanel Web主機
- cPanel Unable or Cannot Start or Restart POP3 Mail Service的cPanel無法或不能啟動或重新啟動POP3郵件服務
- Email Bounces Back with “unrouteable mail domain” Error電子郵件反彈與“ unrouteable的郵件域”的錯誤
- Certificate for cPanel, Courier-Imapd/Pop3d or Exim Will Expire in Less Than 30 Days Error證書的cPanel , courier-imapd/pop3d或exim將屆滿,在不到30天的錯誤
- Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank修復munin MySQL的監測插件圖無法顯示或空白
- Cannot FTP to Web Host or Server running cPanel/WHM不能FTP發布到Web主機或服務器運行的cPanel /的WHM

































April 18th, 2008 19:16 2008年4月18日19時16分
Thanks for this tutorial感謝本教程