May be this can help you. In your wp-config.php file add the following information:
define('WP_PROXY_HOST', '999.999.1.1'); //<---Replace with yours
define('WP_PROXY_PORT', '8080');
define('WP_PROXY_USERNAME', 'user');
define('WP_PROXY_PASSWORD', 'password');
define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com');
Depending on what you’re trying to do, I’d probably use Nginx as a reverse proxy and load balancer, and serve up the WordPress site using Apache as the web server.
Running a Godaddy hosted WordPress site. Want to be able to use a bot to use the assigned server IP to browse Google and Instagram and see how different IPs are given different search results.
So, my bot would use (example IP 999.999.1.1) as a proxy: 999.999.1.1:8080
I’ve already updated my wp_config.php file with
define('WP_PROXY_HOST', '999.999.1.1'); //<---Replace with yours
define('WP_PROXY_PORT', '8080');
define('WP_PROXY_USERNAME', 'user');
define('WP_PROXY_PASSWORD', 'password');
define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com');
Changing the IP to the one provided by Godaddy.
The WP_PROXY_PORT 8080 does not work, but it does if I change it to 80.
Now, when I do get started, and try to browse my own domain, I get a “pageok” message on the browser window. I do see in the browser address bar (when entering mydomain.com) that it changes to “mydomain.com/http://mydomain.com”, and the “pageok” in the browser window.
I’m not able to browse any websites, google.com, etc, or even my own Godaddy hosted domain.
I contacted Godaddy support and they were no help. I asked if there was a dedicated port, they said it was 80, no other support.
I also took out the bypass_host to just localhost. Same “pageok” message when browsing my own domain.
Anyone out there has an idea of what I’m doing wrong?