[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

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

Posted on 2016-09-30
5
Medium Priority
?
62 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 84

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 84

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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
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 …
Suggested Courses

607 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