jt327 Posted December 28, 2006 Share Posted December 28, 2006 hey guys,this probably isnt the right area to be posting this question but anyways..i currently have xampp set up on my xp box and have my website up and running, ie it can be viewed externally.From the server itself i have always been accessing the page by 127.0.0.1, and i am curious as to how i can set my server up so that i can view the website with its full url (ie www.whatever.com) internally.not sure if its relevant but i am using a dlink dsl-g604t router.Thanks in advance,jared. Quote Link to comment Share on other sites More sharing options...
phrozenflame Posted December 28, 2006 Share Posted December 28, 2006 Are you saying your using an ip address and want to to access it in letters? Quote Link to comment Share on other sites More sharing options...
jt327 Posted December 28, 2006 Author Share Posted December 28, 2006 what im saying is that when im on my webserver i want to be able to browse to www.myurl.com and access my site. at the moment i keep getting a page not found error so i need to use localhost.jared. Quote Link to comment Share on other sites More sharing options...
phrozenflame Posted December 28, 2006 Share Posted December 28, 2006 Have you got a domian registerd? Quote Link to comment Share on other sites More sharing options...
jt327 Posted December 28, 2006 Author Share Posted December 28, 2006 yeh, ive got a domain registered and i have setup zoneedit to point it to my ip. This all works fine, the site is perfectly accessable from outside my network. However, when inside the network i can only access the page through localhost. If i try to go through the proper url it gives me a 'page not found' error. Quote Link to comment Share on other sites More sharing options...
phrozenflame Posted December 29, 2006 Share Posted December 29, 2006 So are you saying that when you access it from outside home it works fine but when you do it from home it will not work? Quote Link to comment Share on other sites More sharing options...
trq Posted December 29, 2006 Share Posted December 29, 2006 You need to add an entry to your hosts file. No idea where it is in windows but search for a file called [i]hosts[/i] or [i].hosts[/i] then add these lines...127.0.0.1 yourdomain.com127.0.0.1 www.yourdomain.com Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.