sub domain configuration for network encoder
@DanielnetoDotCom can you help me with this? I have been trying to get this to work all day but can not seem to find the correct combination.
VirtualHost *:81> ServerName encoder.mhktube.com ServerAlias www.encoder.mhktube.com
RewriteEngine On
RewriteRule ^/(.*) http://10.10.10.100:80/$1 [P,L]
RewriteCond %{SERVER_NAME} =encoder.mhktube.com [OR] RewriteCond %{SERVER_NAME} =www.encoder.mhktube.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>
<VirtualHost *:8443> ServerName encoder.mhktube.com ServerAlias www.encoder.mhktube.com
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/mhktube.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mhktube.com/privkey.pem
RewriteEngine On
RewriteRule ^/(.*) https://10.10.10.100:443/$1 [P,L] # Remove the extra space before the "/"
I get the 443 forbidden https://encoder.mhktube.com
`<VirtualHost *:443>
ServerName encoder.mhktube.com ServerAlias www.encoder.mhktube.com`
turn 8443 to 443, and then probably it will not tell fobidden
443 is being used on front end along with 80 I am trying to redirect encoder.mhktube.com at the front end and point it to apache on backend
I have absolutely no idea what I am doing but I am digging in and giving it a go. Spent close to 40 hrs with Gemini and Chat GPT that ended with a blown up Apache2 lol
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.