Cruiz Risner Posted September 25, 2009 Share Posted September 25, 2009 I installed wampserver and put it online but idk how to get anywhere from here. how do i make it host files and what are the addresses? Quote Link to comment https://forums.phpfreaks.com/topic/175515-solved-hosting-site-from-personal-pc/ Share on other sites More sharing options...
Ty44ler Posted September 25, 2009 Share Posted September 25, 2009 Place any files you want online in the htdocs folder. Look in your c drive and locate wamp directory and it should be somewhere under there. Then you'll need to direct your domain name to point to your ip of the pc you're running it from. If you have a dynamic ip, meaning it changes every so often (you probably do) you will need something like dynsupdater to automatically update your ip for your domain name. Quote Link to comment https://forums.phpfreaks.com/topic/175515-solved-hosting-site-from-personal-pc/#findComment-924848 Share on other sites More sharing options...
Cruiz Risner Posted September 25, 2009 Author Share Posted September 25, 2009 there is no htdocs folder, but there is a www directory. it says i should place them in there. i did. but idk how to do the domain and IP thing so that i have an address Quote Link to comment https://forums.phpfreaks.com/topic/175515-solved-hosting-site-from-personal-pc/#findComment-924857 Share on other sites More sharing options...
Ty44ler Posted September 25, 2009 Share Posted September 25, 2009 Yes, the www folder is the correct one. I'm used to Xampp which is htdocs, but Wamp seems to use a different name. Have you registered a domain name anywhere? If you want to pay for one, there are plenty of places to buy a domain name like godaddy. If you're looking for a free one I suggest http://www.dyndns.com/services/dns/dyndns/ they have a few decent extensions that keep the name simple. Here's the steps for setting it up: 1. Get the ip address of your computer: Go to ipchicken.com, take that address and type it in your address bar. Example, http://209.68.27.16 will bring up ipchicken.com; you're ip, if set up properly, should pull up whatever files you placed in the www folder. 2. go to dynDNS and register your name, it will ask you for your ip address, enter that in so that whatever you made for your domain name will point to that ip address. 3. wait about 10 minutes for dynDNS to update itself and you should be good to go! Quote Link to comment https://forums.phpfreaks.com/topic/175515-solved-hosting-site-from-personal-pc/#findComment-924878 Share on other sites More sharing options...
Cruiz Risner Posted September 25, 2009 Author Share Posted September 25, 2009 my ip leads to a 403 forbidden error. how do i fix that? Quote Link to comment https://forums.phpfreaks.com/topic/175515-solved-hosting-site-from-personal-pc/#findComment-924884 Share on other sites More sharing options...
Ty44ler Posted September 25, 2009 Share Posted September 25, 2009 My fault. I explained it wrong... That actually should happen, since you are on the server itself, it won't let you connect using your own ip address.... try this: http://localhost/ That should work. Quote Link to comment https://forums.phpfreaks.com/topic/175515-solved-hosting-site-from-personal-pc/#findComment-924896 Share on other sites More sharing options...
Cruiz Risner Posted September 25, 2009 Author Share Posted September 25, 2009 nevermind i got it. i backed the index.php back one file and placed index.html in the www dir. it works now -- http://asv.kicks-ass.org Quote Link to comment https://forums.phpfreaks.com/topic/175515-solved-hosting-site-from-personal-pc/#findComment-924911 Share on other sites More sharing options...
Ty44ler Posted September 25, 2009 Share Posted September 25, 2009 nevermind i got it. i backed the index.php back one file and placed index.html in the www dir. it works now -- http://asv.kicks-ass.org I'm trying to load it here, but it's timing out, I'm guessing the DNS name just hasn't been updated yet. Another thing to think about, I suggest downloading the DNSUpdater from their site, it will automatically detect and update your ip address to the domain name so that you don't have any downtime it changes. Quote Link to comment https://forums.phpfreaks.com/topic/175515-solved-hosting-site-from-personal-pc/#findComment-924921 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.