Set up a reverse proxy but links on website showing backend server - reverse-proxy

So I've just set up an Openlitespeed based reverse proxy, with multiple vhosts pointing to a backend WordPress website. Let's say this WordPress has the link "originalURL".
Now, I have also successfully got a new link working - "newURL".
When I visit http(s)://newURL it shows me the content of originalURL, while retaining newURL in the browser link bar - Great. However, all the hyperlinks on the site are still like https://originalURL/subpage... So when a link is clicked the user gets taken to the original site directly.
How can I fix this?

Related

resolve URL domain with external subdomain contents

I've purchased a new domain, lets call it example.ca.
I need the above URL to resolve in the browser, with the contents of another site, in this case www.test.ca/othersite
The expected behaviour is so when a user types example.ca, the site will load the contents of the www.test.ca/othersite, while still appearing the above URL as example.ca
I am not looking for a redirect, so wondering how this can be done using DNS and apache rules. Any help is appreciated!

GitHub pages repository linked to a custom domain, but the content is not rendering

I've deployed my web site to GitHub pages and it worked perfectly with the GitHub URL. Then I configured my custom domain from Godaddy to my repository and I believe it's properly configured because when I go to my custom domain in the browser the title appears in the browser tab, however no content is being rendered on the screen. It's a blank page. Any guesses on what the problem could be is much appreciated. The domain name is "connorjaksik.com"
Originally I didn't set up the DNS records properly on "GoDaddy".
I didn't add a CNAME with a value of my GitHub account username.
After that I noticed the domain was reaching my repository on github, but not rendering the content.
I had to change the repositories package.json "homepage" setting from the default, to my custom domain.
The source HTML code for your blank page shows "http://parked-content.godaddy.com/park/...", which means the redirection is not happening and Godaddy provides a placeholder page in the meantime.
Check your DNS provider settings, as explained here: it needs to allow "Naked" CName records in order to redirect your GitHub pages to a all domain name.

Prestashop Error, redirected to many times after migrating to another host and domain

I transferred my prestashop site to another host and domain and now im getting "redirected to many time" error.
This page isn’t working
www.yoursite.com redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
If you has move from one domain name to another, as first step you need clear cookies in your browser, and clear cache also, then you need update the domain name in the SEO & URLs tab, inside the Advanced parameters.
If you are getting issued by access to the Back Office, you can change this also directly in your database in the table ps_shop_url, you need update domain and domain_ssl.

Redirect all subsites to one site

I have a website running on Apache. The address is http://helpdesk.example.com/otrs/customer.pl
I would like to create a forward such that if I access http://helpdesk.example.com/otrs/anyname (except customer.pl) this redirects to http://helpdesk.example.com/otrs/customer.pl
Also I'd like to not show the path of the website in the URL:
http://helpdesk.example.com/otrs/customer.pl displayed as http://helpdesk.example.com/
Thanks you for help!

Enabled SSL gives issues

I really dont know what is the problem nor does my website hosting providers. Im using wordpress to run my business and Im using a shop plugin called "Shopp". Whenever I fill in the Paypal Pro details to process credit card on my website, I get teh following on the checkout page: "Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
I can assure you that the plugin has nothing to do with it as I have tried different shop plugins. Can someone help? The url is www.imayne.co.uk/shop/checkout
Few info:
I have SSL automatically installed by my provider
Hosted package was said to be Linux
Usually that's caused by a page (or pages) that simply redirect to each other:
first.php:
<?php
header("Location: second.php")
second.php
<?php
header("Location: first.php");
or a single page that redirects to itself. check your server logs to see exactly what the requested URL is, and then look for a wordpress rule that'd cause the redirect. Possibly you're trying to redirect from non-SSL to SSL-enabled pages, but are doing the redirect wrong, so you end up back at the same page, which then tries to redirect to SSL, fails, etc...
and indeed, after trying your link, you get redirected to https://www.imayne.co.uk/shop/checkout/, which then keeps on redirecting to itself. So, your shopping car system would appear to be broken.
Your site has been removed so I don't know if you were able to solve the issue.
One thing to keep in mind when using Shopp is, you need a dedicated SSL certificate. A "shared hosting" certificate won't work.