Results 1 to 4 of 4
1) Do i have to setup and configure mail server when setting up Apache Web Server? Currently I just use web based mail servers to get email....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-02-2010 #1
- Join Date
- Dec 2005
Home Web Server Question
- 02-02-2010 #2
not neccessarily. What are you planning on using it for?
- 02-03-2010 #3
- Join Date
- Dec 2005
Confused by different Web Server Confuguration howto and tutorials
Trying to Learn how to setup a virtual web server to build sites that use Registered DNS from home. School is too expensive, doesn't focus on what I need to learn and besides I'm home bound. Do I need to setup mail server?
Apache is running, only resolves Local IP Addr; I'm confused by differences of opinion and varying tutorials, some people say "just setup /etc/hosts files and static LAN IPs with NAT, IPTables, DHCPD and masquerading on web server."; but don't say how to do things? DNS masquerading is not working; It can't get a socket - but bind.named starts up. I haven't set IPTable because I don't know which IP address to use for the default gateway? (External) Eth0 or (Internal) Eth1
/etc/resolv.conf won't retain ISP's NS Address 1 & 2
But tutorials I found say setup bind and dhcpd on eth1. The tutorials for bind and DDns mention mail server address. I am confused and frustrated. Wish i could find one tutorial that would explain the steps. One howto said it is not recommended to use DNS Masquerading. I just need to get the the index.html to resolve using DNS instead of IP addr and i will keep working from there.
I am using Slackware12.2, 2; Wire GateWay, DHCP ISP ; 8 Port RoseWill Switch; PC1 Webserver 30gb Athlon 900mhz, PC2 DDNS server PIII 600mhz 320gb, PC3, PC4; 2Laptops.
2wire gateway provides wireless access point function for 2 Laptops. **I must keep wireless access function on the gateway.
So this is where I am currently:
bash-3.1# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:10:b5:71:40:ea inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::210:b5ff:fe71:40ea/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4052 errors:0 dropped:0 overruns:0 frame:0 TX packets:1653 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:416595 (406.8 KiB) TX bytes:311637 (304.3 KiB) Interrupt:10 Base address:0x1000 eth1 Link encap:Ethernet HWaddr 00:02:44:b1:5c:69 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::202:44ff:feb1:5c69/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5138 errors:0 dropped:0 overruns:0 frame:0 TX packets:276 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1335880 (1.2 MiB) TX bytes:11808 (11.5 KiB) Interrupt:5 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ******** bash-3.1# netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0 ********* bash-3.1# more /etc/hosts # For loopbacking. 127.0.0.1 localhost 192.168.1.101 4400.4400host.net 184.108.40.206 www.4400host.net 192.168.1.1 4400 192.168.1.69 Slack2 220.127.116.11 Slack3 18.104.22.168 WinXP # End of hosts. *********** bash-3.1$ cat /etc/resolv.conf # Generated by dhcpcd for interface eth0 search gateway.2wire.net nameserver 192.168.1.254
- 02-09-2010 #4
- Join Date
- Dec 2005
Webserver config considerations related to ISP Modem/DHCP/Routers
Did I place this post in the wrong forum or word it wrong? I don't understand why I am not getting any help with this project which by the way I have been stuck on way too long... because all the related information is in bits and pieces and incomplete and confusing since it does not address where and how ISP modem/dhcp/routers fit into the Linux server configurations. Yes, I have researched the 2WireGateway Guide and related questions. While there is a plethora easy howto's for Windows. Thank you