What information do I need to enter when installing Apache on my computer?

In summary, when installing Apache on a computer, you will need to enter basic information such as the server name and domain name, as well as configure any necessary network settings. Additionally, you may need to specify the installation directory and choose which components to install. It is also important to provide the necessary administrator credentials and carefully review and confirm all installation settings before proceeding.
  • #1
Jameson
Gold Member
MHB
4,541
13
Sorry to keep posting on the same point, but I still have some things I can't seem to figure out. When I install Apache on my computer, I have to enter information such as Network Domain and Server Domain. If I'm running this off of my own computer, what do I put for these? Do I have to register my own DNS server?

Also, does anyone know of a nice program to manage the Apache, PHP, MySql trio for Windows?

Thanks,
Jameson
 
Computer science news on Phys.org
  • #3
Network Domain is going to be: yoursite.com
Server Domain is going to be: computername.yoursite.com

No, you don't need your own DNS server. There are a ton of free dns hosts. Just do a google search for: free dns. You'll basically give the dns host your Network's IP address and your domain name and they will give you two ip address. You'll take these numbers and go to your domain name provider and enter the numbers under the dns info.

Managing Apache involves editing httpd.conf. There is plenty of documentation within the file and if you need any additional documentation you can find it here:

http://httpd.apache.org/docs/2.0/

You install php once and forget about it.

You can admin mysql either through the command-line or through phpmyadmin:

http://www.phpmyadmin.net/home_page/index.php
 
  • #4
Thanks to both of you.

Greg - on the FoxServe website, it says the latest release date was Jan., 2003. It is going to be outdated?

I'll work on setting my server up and I'm sure I'll have more questions. Thanks again to both of you guys.
 
  • #5
Yeah, FoxServe is really outdated. Your better off getting the packages straight from the developers.
 
  • #6
Do you know of any free domain name services, such as .tk extensions? What do you think of these? Do they have popups?
 
  • #7
So I'm installing Apache and now I need to enter some information. Here are what the defaults suggest...

network domain tallah01.fl.comcast.net
server domain pcp655024pcs.tallah01.fl.comcast.net
administrator email admin@tallah01.fl.comcast.net

Should I keep these defaults? I have Comcast as my ISP, but is this information specific to me? Please help... I really don't want to get in trouble with my ISP.

Thanks
 
  • #8
The free .tk domain only offers redirecting. If you don't mind being identified with you IP address I guess you can go with this choice.

I suggest you buy a domain name. 1&1 offers domains at $6 a year.

Network Domain is going to be: yoursite.com
Server Domain is going to be: computername.yoursite.com

Unless you own the comcast domain don't use it.
 
  • #9
So I've got my Apache server up and running! Now I'm trying to install PHP and MySQL. I have downloaded and unzipped PHPMyAdmin, but there seems to be no GUI that I was anticipating. Am I missing something? Also, I downloaded PHP and MySQL, but have no idea what folder to put them in. Thanks so much for the help! I'll let you know when the site is up!

Jameson
 
  • #10
Back away from the computer, you might hurt yourself trying to find the any key.

Php: Pick a mirror any mirror:

http://us2.php.net/get/php-5.0.5-installer.exe/from/a/mirror

Then double click on the icon that appears on your desktop and follow the installer

Mysql: Pick a mirror any mirror:

http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-4.1.14-win32.zip/from/pick#mirrors

Then unzip the file, double click on the exe and follow the installer.

Phpmyadmin: Pick a mirror any mirror:

http://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-2.6.4-pl1.zip?download

Then unzip and stick the folder in your htdocs folder or wherever you stick your server files on windows. It's htdocs on Linux, and it might be the same on windows.
 
Last edited by a moderator:
  • #11
When I installed PHP, I clicked that my server was Apache and then a popup came up that said "File to configure PHP for Apache has not been written". So how do I do this manually?
 
  • #12
http://www.php.net/manual/en/install.windows.apache2.php
 
Last edited by a moderator:
  • #13
Thanks for all of the help dduardo. I have a security question now. I have two computers. I am going to run my server off of one, but there internet connection is the same for both. Will this increase the chance of someone breaking into my computer for the computer that the server is not on?

Thanks
 
  • #14
No it won't. Just don't foward any ports to that computer. Only servers need router port forwarding.
 
  • #15
dduardo - I really appreciate all the help you've given my for this Apache stuff, but I have a confession. I've purchased a paid plan. :eek: I registered the domain name through 1&1.com, and the web host is bigbytes.net.

I have a couple more questions for you. I have an account with 1&1, but the site says its still "applying" for my domain. How long will this take? Also, on bigbytes.net they use cPanel. I want to edit the main page, but do not even know where to find it. Under FileManager, there seems to be no "index.html" file, or anything like that. Any suggestions?

Also, I'll be installing phpBB soon, so I'm sure I'll need help with that. Thanks so much for everything!

EDIT: Another thing, my plan has only 2 GB data transfer per month. Do you forsee this as being a problem? I plan on having a fairly active forum...

Jameson
 
Last edited by a moderator:
  • #16
Jameson said:
I have a couple more questions for you. I have an account with 1&1, but the site says its still "applying" for my domain. How long will this take? Also, on bigbytes.net they use cPanel. I want to edit the main page, but do not even know where to find it. Under FileManager, there seems to be no "index.html" file, or anything like that. Any suggestions?

Use the index manager rather than the file manager. The files themselves should be under /home/user/public_html/(I'm not sure).

Also, I'll be installing phpBB soon, so I'm sure I'll need help with that. Thanks so much for everything!

phpBB is very easy to install. Once it is installed, you hardly even need to use cpanel any more if your aim is just to host a forum. The admin section of phpBB is straightforward and easy to use, and support is good (anything you can think to ask about has already been answered somewhere). Unless you plan to install hacks or templates, the only thing you should need to use cpanel for after you've installed phpBB is changing permissions for your images folder to allow users to upload their own avatars.
 
  • #18
Thanks a bunch! I got it working.
 

1. What is a web server?

A web server is a computer program that stores, processes, and delivers web pages to clients over the internet. It serves as the backbone of the World Wide Web, allowing users to access websites and web applications.

2. What is the difference between a web server and a web host?

A web server is a software that runs on a physical computer or a virtual machine, whereas a web host is a company that provides the server space and infrastructure for hosting websites. In simpler terms, a web server is the software, and a web host is the hardware.

3. What is the most commonly used web server software?

The most commonly used web server software is Apache HTTP Server. It is an open-source software developed and maintained by the Apache Software Foundation. Other popular options include Nginx, Microsoft IIS, and Google Web Server.

4. How does a web server handle multiple requests at once?

A web server uses a process called concurrency to handle multiple requests simultaneously. It creates worker processes or threads that can handle different requests at the same time, allowing for faster response times and efficient use of resources.

5. Can a web server handle both static and dynamic content?

Yes, a web server can handle both static and dynamic content. Static content includes files like HTML, CSS, and images, which are served as-is without any processing. Dynamic content, such as server-side scripting languages like PHP or database-driven web applications, require the web server to process the code and generate the content before serving it to the client.

Similar threads

  • Programming and Computer Science
Replies
16
Views
1K
  • Computing and Technology
Replies
24
Views
2K
  • Computing and Technology
Replies
8
Views
2K
  • Computing and Technology
Replies
1
Views
1K
  • Programming and Computer Science
Replies
6
Views
1K
Replies
11
Views
1K
  • Programming and Computer Science
Replies
7
Views
468
  • Computing and Technology
Replies
1
Views
1K
Replies
17
Views
815
  • Computing and Technology
Replies
4
Views
1K
Back
Top