How To Set Up An Apache Web Server In 3 Easy Steps

Compare Cost: Get 8 Free E-Commerce Design Bids
Service:
Location:
Budget:
Deadline:
Compare: Web Design Calculator | Web Design Cost Guidelines

Are you an E-Commerce Web Designer? Add a Free Listing

apache web serverWhatever the reason is, you may at some point want to get a web server going. Whether you want to give yourself remote access to certain pages or services, you want to get a community group going, or anything else, you’ll need to have the right software installed and configured for that to happen. So how exactly can you do that? It’s actually quite simple.

My operating system of choice for this article will be Fedora Linux, as Linux in general is known for getting servers up and running quickly, and easily. In addition, Fedora is well supported by both a community and a corporation, has great security, and offers graphical configuration tools for multiple servers.

Step One: Installation

New Install of Fedora

apache web server
If you don’t have Fedora installed on your system yet, you can do so with the DVD because you can also choose to install Apache at the same time. If you take this route, while installing from the DVD you’ll be able to choose which packages you want to install with the “Customize Now” switch. Choose it and then under the Servers tab, you can select “Web Server”. Go ahead with the installation until you can boot into your new system. From there, you can install the graphical configuration tool by choosing the package system-config-httpd from your package manager, or run sudo yum install system-config-http.

Fedora Already Installed

apache server
If you already have Fedora installed, you can install both the web server and the graphical configuration tool. You can install the httpd and system-config-httpd packages from the package manager, or run sudo yum install httpd system-config-httpd.

Step Two: Configuration

apache server
You can now start the graphical configuration tool from System Tools –> HTTP. The first tab you’ll see is the Main tab, where you can configure the server name, administrator email address, and under which addresses the server is available under. I recommend that you add an address right now, and choose “All available addresses” on port 80 for simplicity.

apache server
The second tab contains the different virtual hosts, or the number of different websites on the same server, that are configured. The server can differentiate what domain name was entered into the browser and therefore choose the correct virtual host when displaying a page.

apache http server
There are plenty of different settings that you can choose for each virtual host, including the necessary components as well as hard-to-configure ones such as SSL (HTTPS). For a majority of items, the graphical configuration tool should be able to take care of your needs.

apache http server
The final tab has everything to do with performance and the amount of connections that are allowed. There are no recommended settings as each server has different capabilities, so if you have a larger website you’ll need to play around with these numbers and see what works (provided that you have enough traffic to test out the settings correctly).

Additional Needed Configuration

Before you can actually access your new web server, you’ll need to open your terminal and then run sudo service httpd start to actually start Apache and sudo chkconfig httpd on to make Apache start at every boot.

Step Three: Testing

Step 3 in our process is simply to test out whether you can access your page or not. On the same machine, open up Firefox and type in localhost or 127.0.0.1 to see if you get this test page (provided that you didn’t change the document root):

apache web server
If not, you may have done something wrong in your configuration or not started Apache yet.

Conclusion

It’s pretty cool to have Apache up and running on your very system, considering that it’s the same technology being used by most of the websites you visit every single day (including MakeUseOf). If you want other machines to have access, you’ll need to go into Fedora’s firewall configuration utility (installed by default) and make sure that HTTP (Port 80) is open. Also, if you want to run more complicated web frameworks such as forums or WordPress, you’ll have to install MySQL and PHP as well, but I’ll leave that for another article.

How easy do you think this process is? What do you like or not like about Apache? Let us know in the comments!

How To Set Up An Apache Web Server In 3 Easy Steps is a post from: MakeUseOf


Source http://www.makeuseof.com/?p=89559
Sat, 22 Oct 2011 17:30:49 GMT
Tags: apache, Cool Linux Apps & Tips, fedora, How-To Articles, server, web development, web server, webdesign, webmaster tools,
Nelson E-Commerce | Colorado Springs E-Commerce | Seabrook E-Commerce | San Fernando Valley E-Commerce | Fredericksburg E-Commerce | Mt Dora E-Commerce | Bromley E-Commerce | Roswell E-Commerce | Hendersonville E-Commerce | Stockbridge E-Commerce |

apache


5 Essential Technologies Used By Major Websites

We all know what is happening on top of the big websites, the part that is visible to the public. It's all about great content and user interaction. But did you ever wonder what is under the hood? What are the tools and technologies that support big webs

Cool Linux Apps & Tips


CommandLineFu: Amazing Collection Of Command Line Gems [Linux & Mac]

Browse an assortment of amazingly useful commands. Whether you're an veteran system admin or a command-line neophyte striving to discover more, CommandLineFu is a vote-driven collection of commands that serves up thousands of ideas you should have though

How To Upgrade Fedora Linux Easily

While one of our MakeUseOf authors wrote a great guide on upgrading Ubuntu to the latest version (which can be found here), we haven't offered one that helped users upgrade their Fedora installation to the latest and greatest. Considering some of the fea

fedora


Fedora vs. openSUSE vs. CentOS: Which Distribution Should You Use? [Linux]

Not too long ago I wrote a similar article about the top three distributions of the Debian side in the Linux family (Debian, Ubuntu, and Linux Mint), but as a true Linux geek I would never want to forget the entire other side of the Linux family, probably


Need E-commerce Design? Check out our member profiles:

New Rochelle
Dark Horse Marketing Profile
Dark Horse Marketing

Dark Horse Marketing is a multimedia development company offering award winning design and digital services including graphic and multimedia design, SEO and social media services.

New Rochelle, New York US
Revesby
Covington
Covington Web Design  Profile
Covington Web Design

Providing Website Design, Ecommerce Website Design(Online Stores), Graphic Design, Web Hosting, SEO, Web Development/Programming, DNS Hosting,in Covington, GA and everywhere else.

Covington, Georgia US
Paducah
Purchase Design Group,LLC Profile
Purchase Design Group,LLC

Whether for yourself, a small business, or a large corporation, we can design the web page that best meets your needs at a savings that more than exceeds your expectations.

Paducah, Kentucky US
Stockbridge
Secure Website Services Profile
Secure Website Services

Web Design, Graphic Design, SEO, Web Hosting, Servers and Marketing Solutions. Prices start at only $50!

Stockbridge, Georgia US
Richland-kennewick
Enrick Francisco Profile
Enrick Francisco

We deliver advanced and affordable designs for small/mid size-business. Our goal is to bring more businesses for your company and gain popularity to your market. We provide great customer service!

Richland-Kennewick, Washington US
Fort Collins
AnS International Web Design Profile
AnS International Web Design

AnS International specializes in web design, search engine optimization, web marketing, social media marketing, copywriting, and website hosting services. We are based out of Colorado.

Fort Collins, Colorado US
Springville-mapleton
Twin T Design Group Profile
Twin T Design Group

Twin T Design® use the latest technology to design useful and engaging web sites. We specialize in web design, flash, print design, photography, search engine optimization, and brand identity.

Springville-Mapleton, Utah US



Get Free Logo Design Quotes






Hot Tech Deals – TODAY ONLY Corsair CAFA70 120mm Dual-Fan Universal CPU Cooler $19.39 & More

Dell has the Corsair CAFA70 120mm Dual Fan Universal CPU Cooler for 19 39 TODAY ONLY reduced from



DwellClick: Faster Clicking For Mac Power Users [Giveaway]

If you work at your Mac throughout the day you no doubt perform countless clicks with your mouse or



Get Your Self-Made Infographics Higher Exposure With Visual.ly

I m a big fan of infographics and their ability to visually represent fascinating data While they c



Artweaver – Weaving Art For Free On The PC [Windows]

Give me a blank canvas and some pencils charcoal or paint and I ll rustle something up without a



Cool Websites and Tools [August 22nd, 2011]

Check out some of the latest MakeUseOf discoveries Most of the listed websites are FREE or come wit



Cool Websites and Tools [February 4th 2012]

Check out some of the latest MakeUseOf discoveries Most of the listed websites are FREE or come wit



Have You Lost Your Camera? Then Find It Again With IFoundYourCamera

Have you ever lost your camera while on vacation Has one of your friends Have you ever found a cam




Design Leads

Article Tags
E-commerce Design Articles
Web Apps & Internet (374)
News (291)
Web Apps (129)
Inspiration (128)
Music (119)
iPhone / iPad / iPod (116)
cool web apps (108)
Google Android (101)
Mobile Tips (100)
Announcements (99)
deals (88)
Games & Gaming Tips (84)
Tech Deals (82)
Opinion & Polls (76)
Cool Software Apps (76)
iOS (66)
Browser Tips & Tricks (66)
Social Media (66)
iPhone Apps (59)
geeky fun (58)
Photography (58)
Freebies (58)
iphone (55)
troubleshoot (53)
Google (53)
android (52)
Photoshop (52)
Graphics (51)
facebook (50)
How-To Articles (50)

Friends:
E-Commerce Website Pricing
Web Design Quote
Website Design
Graphic Designers


E-commerce Design Valid HTML 4.0 Transitional Valid CSS!