You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have NPM installed using docker-compose on a Firewalla Gold. Installed and set up per the Firewalla instructions. I have proxys set up for 2 websites. These are on servers (one is a RaspPi and the other a Mac mini with Ubuntu both Nginx servers up and running correctly) in my home and I'm using ddclient to handle the dynamic DNS. Both DNS entries correct connect both URL's with my residential ISP's IP address for my home. On my local network if I enter the IP of either of the servers into a browser the sites come up correctly. This has me down to the NPM not working/configured correctly. Here is what happens:
If I enter www.website1.com into my browser then it correctly goes to www.website1.com/Natalia/Welcome (the correct landing page as defined in my index.html file on that server for that website).
If I enter www.website2.com into my browser it goes to www.website2.com/Natalia/Welcome and serves up the website1 homepage (even though it has website2.com in the URL). Website2's landing page is actually www.website2.com/Welcome and if I enter that into my browser it does in fact take me to the correct website 2 landing page.
How do I get NPM to stop adding the /Natalia/ into the website2 URL and serving up the website1 homepage?
This is really bizarre to me since the websites are physically located on 2 different computers yet somehow files from one server are showing up in the URL for the other.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have NPM installed using docker-compose on a Firewalla Gold. Installed and set up per the Firewalla instructions. I have proxys set up for 2 websites. These are on servers (one is a RaspPi and the other a Mac mini with Ubuntu both Nginx servers up and running correctly) in my home and I'm using ddclient to handle the dynamic DNS. Both DNS entries correct connect both URL's with my residential ISP's IP address for my home. On my local network if I enter the IP of either of the servers into a browser the sites come up correctly. This has me down to the NPM not working/configured correctly. Here is what happens:
If I enter www.website1.com into my browser then it correctly goes to www.website1.com/Natalia/Welcome (the correct landing page as defined in my index.html file on that server for that website).
If I enter www.website2.com into my browser it goes to www.website2.com/Natalia/Welcome and serves up the website1 homepage (even though it has website2.com in the URL). Website2's landing page is actually www.website2.com/Welcome and if I enter that into my browser it does in fact take me to the correct website 2 landing page.
How do I get NPM to stop adding the /Natalia/ into the website2 URL and serving up the website1 homepage?
This is really bizarre to me since the websites are physically located on 2 different computers yet somehow files from one server are showing up in the URL for the other.
Beta Was this translation helpful? Give feedback.
All reactions