Solved

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

Posted on 2016-09-30
5
43 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now