Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

httpd, make/apache on solaris 8(sparc)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Needy Subject #1:
now if i type 'httpd' or 'make' something's supposed to happen right? not "httpd: command not found" i'm a newbie, can ya tell?

aid the needy if you can.
- D.

p.s. - is there a certain patch/pkg i need to install?
--------------------------------------
Needy Subject #2:
alright, so I registered my domain name, do i need to ADD the dns information in /etc/resolv.conf?(on top of the exisiting dns information[from isp, RCN]) Or am I supposed to add it elsewhere?

Whatever kinda help is much appreciated.
 
Hi,

If you are compiling from source you basically 'cd' to the unpacked source directory and then do :

$ ./configure --prefix=/usr/local/apache
$ make
$ make install

(/usr/local/apache being wherever you want to install it)

Then you start it with...

$ /usr/local/apache/bin/apachectl start

On your second query, you don't need to bother with /etc/resolv.conf because that only determines how resolution works from the local machine. What you have to do is get the DNS records for your domain setup to resolve to the IP address of your server. This has to be done on the definitive dns servers for your domain, wherever those may be.

Hope this helps



 
Actually, it comes installed, with Solaris 8.


"./configure: No such file or directory"

(that's what I get when I tried it)

when I /usr/local/apache/bin/apachectl, it seems to work fine: "/usr/local/apache/bin/apachectl start: httpd started")

maybe there's something wrong with my httpd.conf file...here's one question: What/which IP(s) should I have apache binded to?
Listen: xx.xx.xx.xx ?

and should the ServerName include 'www' or no?

Thanks for the help
- D.
 
Okay, you say I need to change the records of my dns servers to so that it can resolve to the IP address of MY server(so what IP address would that be? From my ISP? 127.0.0.1? the IP that my DNS registry gave me? the Nameserver IP lookups?)

I can edit my DNS information via the site at my registry. So I can do that right? My DNS registry is easyDNS.

Thanks again
- D. =)
 
Hi,

What's not too clear is whether you are using dynamic or static dns. Briefly, the way it works is like this...

Say you have a web site at . If I put that address (assuming it was real!) into my browser the first thing that will happen is that the dotted numeric ip address is needed. So my browser talks to the dns servers of my ISP requesting resolution. If those dns servers have the answer in cache from a prior request and its not time-expired it will respond with an ip address - say 172.16.16.1 and then ip routing comes into play. If theres nothing in cache the dns server contacts the .com root dns server(s) to request the 'NS' (nameserver) records for the mylovelynewdomain.com domain. Using the info just obtained, my ISP's dns server then contacts the 'definitive' server for the domain requesting resolution, i.e. the IP address.

Now, if you have a static address of (say) 172.16.16.1 from your ISP you would want to edit the zone file on the 'definitive' name-servers for your domain to point to 172.16.16.1 . You either get someone (ISP) to host your dns records and have an arrangement to add entries like the above example or you host your own dns server (using bind) and point the domain dns server entries to yourself.

However, if its dynamic dns you would have an arrangement whereby the IP address allocated to you via DHCP when you connected would be 'posted' using some piece of client software to the easyDNS DNS server to update the IP.
For example :

Maybe yesterday your IP address was 172.16.16.1 and today its 172.16.16.5 :

So
IN A 172.16.16.1
would be dynamically updated to
IN A 172.16.16.5

Its difficult to tell what your scenario is because you could have used easyDNS to either :

(i) simply register a domain in which case the dns is down to you (
(ii) take domain registration + static dns hosting ( or

(iii) signed up for domain registration + ddns (
Hope this helps - dns can be quite complicated unfortunately

Regards
 
Oh, I signed up for (iii)DNS-Plus, which is supposed provide dynamic dns support.

- D.
(if you feel like emailing instead: dkwan617@hotmail.com)

 
Oh, I signed up for (iii)DNS-Plus, which is supposed provide dynamic dns support.

- D.
(if you feel like emailing instead: dkwan617@hotmail.com)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top