[Original] Batch replace gotoip domain names in website programs
Published: 2015-11-24
A verification page appears when visiting the website. This is because the website calls a second-level domain. Our company's second-level domain is used to test access results and cannot be used for official access. However, some users use the second-level domain when debugging and installing their website, and the internal links are not modified, so the access call displays a verification page.

At this point, check the domain settings in the website backend and update the page and program cache promptly. You can also use the file manager to replace it with your own domain.
In File Manager, go to the wwwroot directory, then click the "Replace" button and enter the domain to perform the replacement.


For some programs, the data is written into the database.
To modify the link address in the database: Virtual Host Management --- Management --- Database Management

Then click your database name on the left, and then click

Then enter the content as shown in the following image:

Click Execute, then click Browse in the results. (Before browsing, please record the name of the table to browse; the browsing result will be displayed at the bottom of the page.)
The following uses the table name xxx_config as an example.
Select a row, edit it, and find which item on the page contains gotoip3.com. For example, the result is shown in the following image.

Record the column name.
Click the
at the top, and enter the following command.
UPDATE `xxx_config`
SET `mobile_value` = REPLACE(`mobile_value`, 'xxx.gotoip3.com', 'your own domain')
Repeat the above operation until gotoip3.com cannot be found in the database
3. If many of your tables contain gotoip3.com, please use phpmyadmin's
function to complete the batch replacement
First export the database as an sql file, and use a local editor to edit the sql file (it is recommended to download the notepad++ editor). Batch-replace xxx.gotoip3.com with your own domain, and save.
Finally, empty the database, and use the sql file that was just replaced to import into the database, completing the batch replacement
