I have gone through all the threads (most) and have modified everything several times. I have been dealing with this for a couple of days and this thread is the end result. I moved from RedHat to SuSE Enterprise 9 Server. I have listed all the configurations below. I might also add that everything works from local. This is loaded on a Dell Edge Server.
ISSUE
When I try to connect from anywhere else but local (internet) I just get page not found.
############################################
-httpd.config (Apache2)-
# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
# Server status
<Location /server-status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from 192.168.254. 127.0.0.1
</Location>
############################################
-'Main' server configuration-
(Include /etc/apache2/default-server.conf)
ServerName Linux
DocumentRoot "/home/hingedmind/hmhome"
ServerAdmin root@localhost
<Directory />
Options Includes FollowSymLinks
AllowOverride None
</Directory>
<Directory "/srv/www/htdocs">
Options +Indexes Includes FollowSymLinks
AllowOverride None
</Directory>
<Directory "/home/hingedmind/hmhome">
Options +Indexes Includes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# YaST auto define section
<IfDefine SSL>
SSLEngine off
</IfDefine>
############################################
-Virtual Host File -
Virtual server configuration (Include /etc/apache2/vhosts.d/hingedmind.conf )
NameVirtualHost *
<VirtualHost *>
ServerName localhost
ServerAlias hingedmind
ServerAdmin
root@localhost.com
DocumentRoot /srv/www/htdocs
</VirtualHost>
<VirtualHost www(spam checker).hingedmind.com:80>
ServerName Linux
ServerAdmin
root@localhost.com
DocumentRoot "/home/hingedmind/hmhome"
HostnameLookups Off
UseCanonicalName Off
ServerSignature On
ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
<Directory "/srv/www/cgi-bin">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
<Directory /home/hingedmind/hmhome/public_html>
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
Include /etc/apache2/mod_userdir.conf
</IfModule>
<Directory "/home/hingedmind/hmhome">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
############################################
-Host File-
127.0.0.1 localhost hingedmind www(spam checker).hingedmind.com Linux localhost.localdomain
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
############################################
-named.conf
options {
directory "/var/lib/named";
dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";
listen-on-v6 { any; };
notify no;
forwarders { 24.93.40.62; 24.93.40.63; 24.93.40.75; 66.68.68.32; 66.68.64.1; };
};
zone "." in {
type hint;
file "root.hint";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "254.168.192.in-addr.arpa" in {
type master;
file "master/254.168.192.in-addr.arpa.zone";
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "hingedmind.com.zone" in {
type master;
file "master/hingedmind.com.zone";
};
include "/etc/named.conf.include";
logging {
category default { default_syslog; };
category queries { default_syslog; };
category xfer-in { default_syslog; };
category xfer-out { default_syslog; };
};
############################################
-Reverse Zone File
$TTL 2d
@ IN SOA Linux.root.localhost (
2005032102 ; serial
3h ; refresh
1h ; retry
1w ; expiry
1d ) ; minimum
@. IN NS Linux.
############################################
-Zone File
$TTL 2d
@ IN SOA @.root.localhost (
(
2005032100 ; serial
3h ; refresh
1h ; retry
1w ; expiry
1d ) ; minimum
Linux. IN NS Linux.
@. IN MX 10 mail.hingedmind.com
############################################
-Resolve File
nameserver 24.93.40.62
nameserver 24.93.40.63
nameserver 24.93.40.75
nameserver 127.0.0.1
search www(prevent spam checker).hingedmind.com
ISSUE
When I try to connect from anywhere else but local (internet) I just get page not found.
Thanks for the help.