Solved

setup local host on network so everyone can access web page?

Posted on 2016-09-30
5
47 Views
Last Modified: 2016-10-12
I have set up WAMP Server installed on my laptop and I have the word press web site on the laptop.

Does anyone have instructions on how other systems can access the local host website on the laptop?
0
Comment
Question by:teknovation
  • 3
  • 2
5 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41824213
You have to use the IP address of the machine for others to connect to your site.  'localhost' and '127.0.0.1' and '::1' are ONLY accessible on the machine they're on.  And every machine has it's own 'localhost'.
0
 

Author Comment

by:teknovation
ID: 41824271
My laptop is a DHCP - so the ip is always changing. Can you please elaborate in more detail or perhaps provide a website which shows how to achieve this? Thanks
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41824421
If you want others to access your web site, it is much better if you switch to a fixed IP.  I have set up all of my 14 computers here that have web sites with a fixed IP address so they can be found.  I don't use 'localhost' for anything if I can help it because many things like external access do not work when you use it.

You could use the 'hostname' of your computer and I have that setup also.  In either case, you will have to adapt your Wordpress installation because Wordpress include the 'server' in it's info in the database.
0
 

Author Comment

by:teknovation
ID: 41824776
Dave I really do appreciate you trying to help. Do you have a link which could show me how to achieve these things? Like step by step instructions or examples
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 41824827
Which version of Windows are you running?  You have to go into the network properties on the adapter to set a fixed IP address.  Wordpress has a tutorial for moving a site which will be basically what you are doing except you don't need to copy any files, just make the changes to the database.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question