Site Linking?


#1

I have an apache server running at home on IP XX:XX:XX:XX

I have a folder on there XX:XX:XX:XX/Myfolder

Is there any way to do something like

www.mysite.com/Home/MyFolder and have it show the Html page linking from my person microserver?

I would want it so if, say I had another folder, it would show:

www.mysite.com/Home/MyFolder/MyOtherFolder

rather than divert to XX:XX:XX:XX/Myfolder/MyOtherFolder


#2

The easier way is to add your home address as a subdomain… such as http://home.mysite.com/

To do that go to manage domains in the panel and find mysite.com, click the DNS button right underneath. Add a custom DNS record for “home” (the first blank) which will make it home.mysite.com… leave the Type dropdown on A… put your home IP address in Value. Remember DNS records can take time to propagate, when adding a new record it should be pretty quick.


#3

I know about subdomains, I was just hoping to do it with an after path rather than a subdomain. Reason is the IP of the server will change (its a non-static) and I can eaily make a program that will FTP a file with the new IP.

I don’t know of any other way (without buying Dydns) that I can send my IP to the server to automatically update the subdomain.


#4

You can use Dreamhost’s API to drop and add a new record. http://wiki.dreamhost.com/API/Dns_commands[hr]
See also the DNS section of http://wiki.dreamhost.com/API_Apps