Avatar billede toro1968 Nybegynder
06. februar 2016 - 08:13 Der er 2 kommentarer

Proxy

I have a weather station which loads data via ftp to http://www.fjellbergskardet.no/yr/

New website at http://fjellbergskardet.netlify.com/

When I point the DNS records for the domain at the netlify servers I need to proxy requests to /yr/ from the netlify site to the old servers (www.fjellbergskardet.no/yr)
Like this: https://www.netlify.com/docs/redirects#proxying

I have done this. Problem: It goes in a loop.

Solutions?

Regards Tor
Avatar billede Wally73 Mester
06. februar 2016 - 14:45 #1
Works perfectly here, but its a bit slow to load the second site.
If the servers for some of the sites are placed at same location as the place you run your tests from, then it can be firewall rules that cause the confusion. :)
Avatar billede toro1968 Nybegynder
08. februar 2016 - 06:30 #2
Løsningen er at opprette et subdomene for YR
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester