Redirect website but keep the original url in the address bar
<p>I have a local domain name <strong>.dz</strong> which <strong>doesn't allow DNS changes</strong>, I want to redirect the domain and all the pages to another domain <strong>.com</strong>, and keep the .dz address in the address bar and completely hide the .com domain.</p>

<p>I've searched the whole Internet all solutions doesn't do this, some does the redirect to .com and the .com shows in the address bar and some others redirect only the homepage.</p>

<p>I am wondering if the is a php function to read directly from the .com domain and then writes the content to the .dz domain</p>

<p>I have access to both .htaccess or the PHP files.</p>