|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Apache tutorial
So far I only needed some basic knowledge of Apache. Just to setup local webserver on my machine to test PHP applications.
Now I would need to setup a server for the outside world. I don't know where to begin. Where can I find some good tutorials? I searched on Apache.org but there is all mostly in the from of reference. Thanx |
|
#2
|
|||
|
|||
|
By default Apache listens to all network interface. Your situation really has very less to do with Apache but your connection setup. If you configure your dns resolver and nic properly (man 8 ifconfig), all you need is to do is to replace the ServerName localhost to your registered domain name in FQDN format.
Say NameVirtualHost directive, unless you have multiple external NICs, setting NameVirtualHost * should do just fine instead of NameVirtualHost 12.34.56.78. Say your public IP is 12.34.56.78 and internal IP is 192.168.0.1. If you access to http://192.168.0.1, that is going to be the same content as http://12.34.56.78. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Apache tutorial |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|