WAMP and dynamic IP address and iPhone test?

SodbilegG

New member
Joined
Mar 18, 2011
Messages
0
Reaction score
0
Points
0
I have installed WAMP on my desktop.
I want to test my website on my iPhone. My iPhone and my desktop are on same network
I can access my localhost and website through my iPhone, but can't see any pictures on my website.
When I change "localhost/myproject/images/example.png" to "192.168.1.100/myproject/images/example.png", iPhone test works.
But everytime I turn on my computer, IP address is changing because of dynamic IP address thing.
So I have to change all image urls. This is so difficult.
How can I solve this?
 
Back
Top