Header Banner
Null Byte Logo
Null Byte
wonderhowto.mark.png
Cyber Weapons Lab Forum Metasploit Basics Facebook Hacks Password Cracking Top Wi-Fi Adapters Wi-Fi Hacking Linux Basics Mr. Robot Hacks Hack Like a Pro Forensics Recon Social Engineering Networking Basics Antivirus Evasion Spy Tactics MitM Advice from a Hacker

How to Access Xampp Server Remotely

Feb 3, 2016 01:50 AM
Sep 14, 2016 07:37 PM
Network configuration diagram showing Mac, Linux, and Windows systems connecting to localhost with steps for editing and configuring the hosts file.

In my last article, I discussed:

How to install xampp

How to install wordpress on xampp

The following article describes how to access that wordpress site both remotely and from a different computer on the same network

635900321773697101.jpg

Edit Httpd-vhosts.conf File

Assuming you're using windows, navigate to the following folder: C:\xampp\apache\conf\extra and double click the httpd-vhosts file to edit.

Append the following to the end of the file.



DocumentRoot "C:\xampp\htdocs\wordpress"



AllowOverride All

Require all granted



Edit /Etc/Hosts File

Open a blank document, make sure to open your text editor using 'run as administrator' (right click text editor icons and scroll to select 'Run as Administrator'. You need to do this for permissions purposes. Once your text editor is open, click -> file -> open and navigate to 'C:\windows\system32\drivers\etc.

In your command prompt, get the ip address of your computer by typing 'ipconfig' then add the following at the end of the file:

wordpress.localhost

ex. 192.168.1.191 wordpress.localhost

Confirm

To confirm everything was set up correctly, you should now be able to access your wordpress pentesting lab from your attacking computer on the same network. This particular example will allow you to access it remotely as well.

The next big software update for iPhone is coming sometime in April and will include a Food section in Apple News+, an easy-to-miss new Ambient Music app, Priority Notifications thanks to Apple Intelligence, and updates to apps like Mail, Photos, Podcasts, and Safari. See what else is coming to your iPhone with the iOS 18.4 update.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!