Apache Setup

Posted on 2003-03-24
Medium Priority
Last Modified: 2013-12-15
hello experts.
i am running redhat 8.0 server and i would like to host my own webserver. i know i have to install apache. but question is, where do i configure with dns.. i already purchased domain name and web hosting for an yr. iam hoping to save some money by hosting my own.. i do have an high speed internet connection. where do i specify my static ip address  in apache. or is that how we do ? please post some inputs.
Question by:renj
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1

Expert Comment

ID: 8204594
Hello Reni.

You should find a directive named ServerName in file named httpd.conf (as far as I remember in RH8.0 it resides in /etc/httpd/conf/), and edit it like ServerName www.yourdomainname.com . Of course domain name you purchased must point to IP address of machine you're running apache.

Accepted Solution

droswell earned 152 total points
ID: 8205865
Don't forget to restart apache services.
Also, www.webmin.com - Webmin is a great little web based tool for configuration.

Read the documentation on apache's website, and realize your ip may not be static if you're doing this at home. Your ip could change and you will need to update your DNS server every so often.

Good luck!

Author Comment

ID: 8210425
Thanks vlat, dan for your advise

then how are dns server comes with red hat 8.0 ( i know that might be a dumb question to ask) i dont have real time experice with Linux based OS.  if my ip is not static, how are these guys doing ? updating ip in dns server is not practical. i mean every day may be.. is there any other way..
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.


Assisted Solution

vlat earned 148 total points
ID: 8212419
If your ip is not static the are things going another, more difficult way.
In fact, dns server is a large database with records like www.microsoft.com => for example. And it can take a day, or two to update the record if you IP was changed (becouse there's a looooot of dns servers).

So, i think in your case there's no reason to purchase a "normal" domain name. Instead you can use so-called dynamic dns domain name service. Usually it's free, all you need is install a little client application to your machine. It will tell to a domain provider about IP changes. Contras of this way is that you will receive a 3rd level domain. In other words something.something.com.
Personally me uses vlad.homeunix.com domain for my home machine.

One of such providers is http://www.dyndns.org/ .
Let me know if you will need help with dyndns client configuration.


Author Comment

ID: 8212531
Thank u so much for ur input. rite now iam at work.so as soon as i get home, i will be downloading dynamic dns service.. so i will post tomorrow if i encount any problems.
Thanks again for ur help

Expert Comment

ID: 8212616
Good call vlat.
I've used dyndns.org for 3 years, and it's been excellent. There are clients you can install that will check your ip and run to dyndns to update your dns entry. The accounts are easy to use, and dns entries propagate fast (like under a minute fast). When I signed up it was free....not sure if it still is.

Expert Comment

ID: 9076593
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month8 days, 2 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question