raggiungere sito in locale da remoto

Problems with the Windows version of XAMPP, questions, comments, and anything related.

raggiungere sito in locale da remoto

Postby pcrotto » 12. August 2021 14:32

da remoto, raggiungo la pagina di benvenuto di xampp, (http://82.54.59.219/dashboard/) ma non il mio sito in htdocs/utl (http://82.54.59.219/htdocs/utl).
cosa dovrei configurare?
pcrotto
 
Posts: 4
Joined: 12. August 2021 13:38
XAMPP version: 8.02
Operating System: windows 10

Re: raggiungere sito in locale da remoto

Postby Altrea » 12. August 2021 20:09

htdocs almost never is a part of the URL.

http://82.54.59.219/ is already mapped to \xampp\htdocs\.
So you should try url http://82.54.59.219/utl
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11946
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: raggiungere sito in locale da remoto

Postby pcrotto » 13. August 2021 20:49

Ti ringrazio per la celere risposta, ma purtroppo non è così semplice.
Ho tentato in vari modi a comporre L'URL (anche come mi hai consigliato) ma il risultato è sempre lo stesso.
Arrivo in prima istanza alla pagina di benvenuto e non riesco ad accedere alla home del mio sito.
In rete locale accedo facilmente e senza problemi con http://IP server/miosito.
Resto in attesa che qualche lucina si accenda fra i partecipanti al Forum (almeno lo spero).
Intanto grazie.
pcrotto
 
Posts: 4
Joined: 12. August 2021 13:38
XAMPP version: 8.02
Operating System: windows 10

Re: raggiungere sito in locale da remoto

Postby Nobbie » 13. August 2021 22:35

This is NOT an italian forum, its english only.
Nobbie
 
Posts: 13196
Joined: 09. March 2008 13:04

Re: raggiungere sito in locale da remoto

Postby Altrea » 13. August 2021 23:22

http://localhost/miosito\ is mapped to file path \xampp\htdocs\miosito\
Of course we don't know anything about where your files are saved, which web application you are using, etc.
Your problem could be easily solvable, but not if you don't start telling us much much more in detail what you are doing, what reaction you get, what the logs says and how your environment looks like.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11946
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: raggiungere sito in locale da remoto

Postby pcrotto » 14. August 2021 15:02

Ok.
XAMPP vers. 8.0.2 - WordPress vers. 5.8
C:\xampp\htdocs\miosito.
Dal computer dove è installato XAMPP accedo con 'http://localhost/miosito/'
Dai dispositivi in rete locale accedo con 'http://IP server/miosito/'
Da remoto, l'URL ' http://ip esterno/miosito/' non trova niente, mentre l'URL http://ip estreno/ punta alla dashboard di XAMPP.
Come browser uso 'Google chrome' e Safari.
Spero di essere stato esaustivo, se occorre altra informazione ditemelo.
Intanto grazie a tutti.
pcrotto
 
Posts: 4
Joined: 12. August 2021 13:38
XAMPP version: 8.02
Operating System: windows 10

Re: raggiungere sito in locale da remoto

Postby Altrea » 14. August 2021 16:19

if http://localhost/miosito/ is working correctly but http://serverIP/miosito/ is not, then you commonly have installed wordpress for domain localhost.
wordpress uses the domain (base url) to build all other ressource requests and that will fail.

you need to install or configure wordpress for this IP, it is reached from.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11946
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: raggiungere sito in locale da remoto

Postby pcrotto » 14. August 2021 21:44

Grazie.
WordPress credo sia installato correttamente:
Infatti dalle 'Impostazioni generali' si evince che:
Indirizzo WordPress(URL) 'http://serverIP/miosito'
Indirizzo sito (URL) 'http://serverIP/miosito'
dove serverIP è proprio l'indirizzo fisico dose è installato XAMPP e WordPress.
D'altronde i dispositivi in LAN non hanno problemi a visualizzare il sito a questi URL.
Grazie
pcrotto
 
Posts: 4
Joined: 12. August 2021 13:38
XAMPP version: 8.02
Operating System: windows 10

Re: raggiungere sito in locale da remoto

Postby Altrea » 14. August 2021 22:29

THere are multiple ways to debug such issues.
You could use Browser information like the network tab of the Google Chrome DevTools (Key F12).
You can take a look into your Apache access.log to see if the requests are reaching the Apache at all and which HTTP status code they produce.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11946
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 99 guests