-
Question about home webserver, DynDNS and somdomains
hello guys ...
im a new member and this is an awesome forum for great information. also this is going to be my first thread. i searched and got some relative information but not the information i exactly need. ok, this is my question :
im trying to setup a webserver running in my local machine (laptop) so i can setup few subdomains for my freelance projects and provide those to my clients. in that way i dont have to upload files each and every time to my bluehost account. another advantage is i can still use the same root folder as my svn repo for that specif folder. thought this step would be easy time saver for me.
this is what i did :- created velanzia.dynalias.org (with wildcards enabled) which resolves the public ip (so when i access it via http, i get router setup page)
- changed the ddns settings on my router with dyndns credentials
- then forwarded port 80 from router to my local macine's ip which was 103. at that time (now when i access above dynalias, it hits my local web server .. yay!)
- registered mydomain.net with bluehost and asked them to change the cname to aboive dynalias, but still the name servers are the same bluehost default ones (now when i access my new domain, it hits my local websever)
so as a summary, i pointed a domain.com to my local machine's web server. now i can see files as long as my machine is on.
*****
however i setup a vhost on my apache instance with a server name client1.domain.com, but i can't access - server cannot be found. i guess theres something missing, does anyone know what this is? how can i actually create a subdomain like client1.domain.com and point it to my local machine? do i have to ask bluehost to create an A record or something?
*****
i tried creating subdomain using cpanel, it wont work because it points to bluehost server.
*****
my configuration: win xp, laptop, wireless connection, apache 2x
thanks for the help guys!
-
Not sure if you've worked this out yet, but in case you haven't...
I've done exactly the same thing for staging servers for each of the sites I manage - they all have a subdomain of staging.domain.com, and point towards a webserver in my house.
You need to ask Bluehost to create a Cname record for each subdomain you want forwarded to your local machine. Then set up a virtual host in apache corresponding to each of these subdomains.
No need to create subdomains within cpanel.
___________________________
Okio Studios UK Website Design
Last edited by hedgehogblu; 01-30-2009 at 03:24 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules