mardi 26 mars 2019

How do I force my URL to redirect to a specific port

I have set up a XAMPP on a AWS instance. I have assigned ports to respective web apps. To access a specific web app, the respective port is added to the URL.

http://myurl.com:8001 #this redirects to the first web app
http://myurl.com:8090 #this redirects to the second web app

When I access the URL, http://myurl.com without the port, the XAMPP dashboard is displayed

http://myurl.com/dashboard
#this is displayed when http://myurl.com is entered on the browser
#the dashboard gives details which may be a security risk

How do I set up that the http://myurl.com redirects to http://myurl.com:8090?




Aucun commentaire:

Enregistrer un commentaire