Accessing my local website

W

WPKenny

Guest
I've dyndns set to redirect to my own pc running a website. You can see this at http://wpkenny.gotdns.com

There's just a holding page right now but I host other private stuff in the sub directories. :) I initially set it up for terminal services and it works great.

My problem is that whenever I have a link to my own computer using the wpkenny.gotdns.com bit it gives me an error and I have to replace it with my own local IP to get it working.

Is there a trick I can do to my own computer to get it to think it's wpkenny.gotdns.com instead of just it's local IP?

edit: Forgot to mention this is on XP
 
F

FatBusinessman

Guest
One possible way to do this (although not very elegant) is to edit C:\windows\system32\drivers\etc\hosts (any standard text editor should do).

You should have a line in there saying
Code:
127.0.0.1      localhost
Replace this with
Code:
127.0.0.1      localhost wpkenny.gotdns.com

This should hopefully work.
 
W

WPKenny

Guest
That's such a simple thing to do!!!
It's been bugging me for ages and I never asked anyone before.

Luap helped me out in IRC just before you got there FBM but thank you. I'll lock the thread now and leave it here for posterity.

his solution was actually just to add:
10.0.0.9 (lots of spaces i.e. the tab key) wpkenny.gotdns.com
^^^ My local IP ^^^^^My dynamic website address
 

Users who are viewing this thread

Similar threads

D
Replies
5
Views
703
darthshearer
D
P
Replies
13
Views
1K
wyrd_fish
W
A
Replies
6
Views
765
[UKLans]Khan
U
W
Replies
4
Views
655
wyrd_fish
W
W
Replies
3
Views
921
wyrd_fish
W
Top Bottom