xip.io problem


  • | 146 points

    Hi

    When i create a project (Example. App.dev) the address app.192.168.X.X.xip.io don't load the project. The address load the index (phpinfo)

    Thanks

    And congratulations for this forum. But... can you put the help in the official site?


  • administrators
    | 62340 points

    Hi @GaDo , you can modify your http-vhosts.conf file like this:

    <VirtualHost *:80> #laragon magic!
    DocumentRoot "C:/laragon/www/app/"
    ServerName app.dev
    ServerAlias 192.168.X.Xxip.io
    </VirtualHost>

    Delete **#laragon magic! ** if you want the information is persistent.


  • | 236 points

    Hello,

    I have similar issue here. I have installed WordPress in my Laragon server and everything works great.

    Now when I try to access with the xip.io URL from my mobile device the site doesn't show up correctly. My mobile is like not finding all files (CSS's and images) so page display only some texts and default boxes for images not found. That happens when I set the URL's within WordPress configuration page, localhost/wordpress as the installation path and mywordpress.dev for the site URL.

    The problem gets fixed when I use my IP instead of those name servers: 192.168.x.x/wordpress in both fields. That way I can access without any issues using my mobile.

    I tried to configure my httpd-vhosts.conf file as indicated above but it didn't work. This are the customized lines:

    <VirtualHost *:80> #laragon magic!
    DocumentRoot "D:/laragon/www/wordpress/"
    ServerName mywordpress.dev
    ServerAlias 192.168.x.x.xip.io
    </VirtualHost>

    Thank you


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.