Redireccinar Domain to local server apache, keeping original url in folders and subfolders

0

I have a free server, which I want to use to redirect to my server local apache, keeping its original url, in all my local apache server, both in folders, and in sub-folders. By using the following code it is possible to keep the origin URL but only in the root folder, BUT not in the folders and sub-folders. Because when you pass the cursor over them, the real Publish ip address of my local Apache server is displayed.

How do I make the url source show up all over my local apache site, including folders and sub-folders?

Thank you.

<html>
<head>
<title>/</title>
</head>
<frameset rows=’100%, *’ frameborder=no framespacing=0 border=0>
<frame src="http://miservidorlocalapache:#puerto/"
name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0></frame>
</frameset>
<noframes>
Su navegador no soporta frames. Le recomendamos actualizar su navegador.
</noframes>
</html>
    
asked by samuel 04.12.2016 в 23:13
source

2 answers

0

Solution:

With a free or paid domain, point the name servers to cloudflare.com and from there configure the type A registers that point to the public IP address of the local apache server. If port 80 is used there are no problems, but if you want to use a different port, in the help section, look for the ports that are used for the correct operation.

    
answered by 14.12.2016 / 05:53
source
0

The problem is that the only thing the frame does is load one page inside another but always from where it is hosted, that is, it does not "mask" the real location where it is hosted. I think the most practical thing for what you want, if you have a domain of your own, is to redirect the DNS to your local server and avoid problems.

I hope you've been served

    
answered by 05.12.2016 в 13:39