You may want to have your wp2print site respond to multiple domain names. Here is the procedure to follow:
Configure the secondary domain name as a "Parked Domain" in cPanel
Visit the cPanel control panel for your site. Add the secondary domain name as a "Parked domain".
In the example below, we have configured the secondary domain name "second-domain.com" as a parked domain:
Edit wp-config.php file
Using the cPanel File Explorer, navigate to the WordPress root directory and edit the file: wp-config.php
Place below lines after the table_prefix line; order is very important in wp-config.php:
/* * Handle multi domain into single instance of wordpress installation */ define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST']); define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST']);
Point DNS "A" record for new domain name to the IP address of the wp2print server
As with the main domain name, the DNS records of the secondary domain name must be modified so that the DNS "A" record for the secondary domain name points to the IP address of the server hosting your wp2print site. You can follow these instructions for modifying the DNS records.