• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

Apache Setup

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.
thanks
 
0
renj
Asked:
renj
  • 2
  • 2
  • 2
  • +1
2 Solutions
 
vlatCommented:
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.
0
 
droswellCommented:
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!
Dan
0
 
renjAuthor Commented:
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..
Thanks
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
vlatCommented:
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 => 207.46.249.27 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.


0
 
renjAuthor Commented:
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
0
 
droswellCommented:
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.
0
 
CleanupPingCommented:
renj:
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 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now