Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I have answered some questions and have gotten answers for my questions. Anywhere you can do this on one page helps tremendously..."

Geography

Where in the world do Tek-Tips members come from?

best setup for apache for learning w/out network or isp?

cllew (TechnicalUser)
28 May 00 18:35
I have apache 1.3.6 installed (linux) and it works fine with localhost.  I want to learn apache, perl, php, etc., but do not have a domain name (no isp)and am not part of a network. What is the best set up to simulate a web site on a single box - the O'Reilly book discourages one from using localhost and uses an intranet as an example.  

Thanks in advance.
AndyBo (MIS)
30 May 00 8:57
I've recently set something similar up (laptop with cheap PC-Card NIC that isn't recognised by Linux).  The first thing I had to do was get DNS running, and add a "CNAME" entry pointing "my.madeupname.com" at "localhost".

Then Apache refused to start because it couldn't resolve it's own FQDN.  Adding "ServerName my.madeupname.com" to the httpd.conf file solved this, and I can connect to the server as "http://my.madeupname.com"; or "http://localhost";.

However, having done all that there's no really compelling reason to do this if you just want to learn Apache/Perl/PHP.  Using "localhost" should be fine.  I had to do the things above because I was also installing, configuring, and generally looking at qmail, which needs DNS to be running.  The Apache set up came about the next time I rebooted and Apache stopped working...

Probably best if you stick to "localhost" for now.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close