I need to use my domains for pages from a service I contracted. The service charges too much for accepting my domain so I use WP to load the plugin "Content Mask" which I enable in a given page to make it load the long URL in an iFrame. I set that page as my WP homepage so now when people goes to my domain it internally loads the stuff from the service but the browser still shows my domain in the URL bar.
For each new site I have to setup a new docker container and configure it. It takes me about 30 minutes to get it ready. (I know, I can try some other approachs)
Having NPM doing it would be a 5 minute thing (because I use LetsEncrypt certs)
I tried some custom Nginx custom config with Proxy, Redirection and 404 Host types but no luck with that.
I think this could be something easy using as a starter point the 404 Host type. Just fill the body element with:
I need to use my domains for pages from a service I contracted. The service charges too much for accepting my domain so I use WP to load the plugin "Content Mask" which I enable in a given page to make it load the long URL in an iFrame. I set that page as my WP homepage so now when people goes to my domain it internally loads the stuff from the service but the browser still shows my domain in the URL bar. For each new site I have to setup a new docker container and configure it. It takes me about 30 minutes to get it ready. (I know, I can try some other approachs) Having NPM doing it would be a 5 minute thing (because I use LetsEncrypt certs) I tried some custom Nginx custom config with Proxy, Redirection and 404 Host types but no luck with that. I think this could be something easy using as a starter point the 404 Host type. Just fill the body element with:
That's it.