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

O
Replies
10
Views
534
old.Duk
O
D
Replies
5
Views
595
darthshearer
D
D
Replies
3
Views
450
whipped
W
F
Replies
3
Views
505
Jonty
J
O
Replies
4
Views
569
F
Top Bottom