How do you put the website on the xampp local?



  • There's a website that's at: C:\xampp\htdocs\localsiteHow do you make this site accessible locally in a regular home network with all the computers?



  • Listen 8008
    
    <VirtualHost *:8008>
      DocumentRoot "C:/xampp/htdocs/localsite"
      ServerName 192.168.XXX.XXX
      DirectoryIndex index.php
    
      <Directory "C:/xampp/htdocs/localsite">
          Options Indexes FollowSymLinks MultiViews
          Require all granted
          AllowOverride All
      </Directory>
    </VirtualHost>
    

    Like that. ♪ alias.conf The port and address are changing to your favorite. Although I don't remember the right thing. See that the ports aren't closed on the server computer and that the firewall doesn't block.

    Well, you know, in default, you can just go to the computer's address in the network, without adding anything to the configuration.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2