How to set up an Apache server on my own machine?

  • ThEsToNeMaN
  • Born
  • Born
  • No Avatar
  • Joined: Dec 16, 2010
  • Posts: 2
  • Status: Offline

Post December 16th, 2010, 10:15 pm

well i'll tell u what i do to run my webserver, and i have a dynamic ip(it don't change unless i reset my modem though),

i got uniserver, which is mysql and apache, all u gotta do is set it up, which isn't hard, then 2 add ur sites u have 2 edit the httd.conf file 2 set up ur virtual hosts, and all that stuff

and for my dns i uses freedns.afraid(.)org

with the domain host all u do is set up there nameservers which is like ns1.afraid(.)org-ns5.afraid(.)org, and point them towards ur ip.

best thing is, its all free, well of course the domain, but u can get thoughs 4 free also, and u can host multiple sites with it aswell

regards,

ThEsToNeMaN
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 16th, 2010, 10:15 pm

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post December 30th, 2010, 5:19 am

Wouldn't it be simple enough to cname www to the dyndns name?

Edit the zonefile for the domain you own and add;

www IN CNAME <hostname>.dyndns.net. (Important to remember the trailing dot)

Then any request to www.yourdomain.com will automatically go to the dyndns name.

I did then when I was running a webserver behind my firewall at home; forwarded the ports through to the backend server and used one of those dynamic DNS servers to ensure I always had the right IP resolution.

Or am I missing something?
"It's always a long day, 86,400 won't fit into a short."
  • BankruptcyRules
  • Born
  • Born
  • User avatar
  • Joined: Dec 15, 2010
  • Posts: 2
  • Status: Offline

Post January 21st, 2011, 2:15 am

Apache: Seting up virtual servers on my local machine for access from other computers in my LAN

I am running Apache 2.2 on XP. I want to set up Apache so that I have different test sites (each listening on a different port), to be accessed by other machines on my internal (home network).

I have managed to setup different virtual hosts (all using port 80), I have then used the host file to provide server names like:

127.0.0.1 localhost 127.0.0.1 test.php.localhost 127.0.0.1 phpmyadmin.localhost

etc

This works fine on my local machine, in that I can acces http://phpmyadmin.localhost/ (for example, on my local machine. However, when I go to another machine I cannot type http://phpmyadmin.localhost/ I can only type http://[server.ip.address] which in this case, gives me the first website listed in my httpd.conf file.

I have two (possibly related) questions

1. What do I need to do so that I can access http://phpmyadmin.localhost/ from another machine in the LAN (is it simply a case of modifying the host file on each machine, or is it more complicated?)
2. How do I access a SPECIFIC website (on my local server), from one of the machines in my network, instead of being automatically assigned to the first wite listed in httpd.conf?

By: FHA Streamline Refinance @ loansstore dot com/FHA-refinance/

Post Information

  • Total Posts in this topic: 18 posts
  • Users browsing this forum: No registered users and 31 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.