AXISHK
asked on
Remote access to WAMP / WordPress
Create a wordpress with WAMP installed on my workstation. Everything works fine.
How to grant any workstations in my LAN to test the website ? Currently, users access my wordpress get a errror
You don't have permission to access /xxxx on this server.
Thx
How to grant any workstations in my LAN to test the website ? Currently, users access my wordpress get a errror
You don't have permission to access /xxxx on this server.
Thx
Can they access anything else on your WAMP server?
ASKER
Only on my workstation, not on other workstations,
Thx
Thx
ASKER
On a remote workstation "http://mis-pc1/mywebsite", the browser return http://localhost/mywebsite and that's why my remote workstation can't access the website.
Any idea ?
Thx
Any idea ?
Thx
Try using the IP address of the machine.
ASKER
Same, it changes to localhost directly.
I wonder whether there is some setting in WordPress that need to change, as I change my wordpress project....
Thx
I wonder whether there is some setting in WordPress that need to change, as I change my wordpress project....
Thx
I'm pretty sure that somewhere you set 'localhost' as the domain or web site name for your Wordpress installation. You'll have to find that and change it.
can you explain a little more please. when you say "my remote workstation can't access the website" is that workstation on the same LAN or really remote and outside the building?
can other computers on the LAN see any folders on the computer that has the website?
have you tried disabling your machines Firewall?
its not a Wordpress problem its either a firewall or a file permissions problem.
when another computer on the LAN enters the ip address in the address bar of a browser say "HTTP://192.168.1.65/mysite" in the address bar of Chrome you need the folder name of where the website is in this example its called mysite. and the ip is the machine running your wamp
what happens??
can other computers on the LAN see any folders on the computer that has the website?
have you tried disabling your machines Firewall?
its not a Wordpress problem its either a firewall or a file permissions problem.
when another computer on the LAN enters the ip address in the address bar of a browser say "HTTP://192.168.1.65/mysite" in the address bar of Chrome you need the folder name of where the website is in this example its called mysite. and the ip is the machine running your wamp
what happens??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if the website works locally then don't change any of the settings. the way WordPress communicates to the database and itself - if that works then its nothing to do with people accessing the website remotely.
it could be a hosts file on each machine or as I mentioned the firewall on the Wamp machine
it could be a hosts file on each machine or as I mentioned the firewall on the Wamp machine
ASKER
Here is the testing result on a remote workstations. They are on the same LAN as my computer. Thx
1. http://192.168.2.224 - can accesss wamp info
2. http://192.168.224/mysite - return error and I find the address change to http://localhost/mysite.
the url "mysite" is my wordpress project.
Thx
pic1.png
pic2.png
1. http://192.168.2.224 - can accesss wamp info
2. http://192.168.224/mysite - return error and I find the address change to http://localhost/mysite.
the url "mysite" is my wordpress project.
Thx
pic1.png
pic2.png
when they use
http://192.168.2.224
get them to then click on the link "xinming" under the word "Projects" this is where your website is.
http://192.168.2.224
get them to then click on the link "xinming" under the word "Projects" this is where your website is.
ASKER
sounds like a problem with your WAMP installation.
try going over these tutorials to see what can be changed.
How to install wordpress locally with wamp :
https://www.youtube.com/watch?v=MHMV6tUuadA
http://www.wpbeginner.com/wp-tutorials/how-to-install-wordpress-on-your-windows-computer-using-wamp/
try going over these tutorials to see what can be changed.
How to install wordpress locally with wamp :
https://www.youtube.com/watch?v=MHMV6tUuadA
http://www.wpbeginner.com/wp-tutorials/how-to-install-wordpress-on-your-windows-computer-using-wamp/
Mustafa bezi is probably on the money. Change your WordPress settings to your IP address instead of localhost, otherwise WordPress will include "localhost" in every url on the menu.
ASKER
Try to setup WordPress again but it doesn't allow me to either put hostname or ip address. Only localhost is accept to proceed the setup further.
Any idea ??
Thx again.
Wordpess1.png
WordPress2.png
Wordpress3.png
Wordpress4.png
Any idea ??
Thx again.
Wordpess1.png
WordPress2.png
Wordpress3.png
Wordpress4.png
Hi Bro,
Not in setup - look in settings, something like http://localhost/wp-admin/options-general.php
Change WordPress Address and Site Address.
Not in setup - look in settings, something like http://localhost/wp-admin/options-general.php
Change WordPress Address and Site Address.
ASKER
Remote workstations can now access my PC without changing to localhost. However. all the page and layout is distorted.....
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thx