This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Apache / Issue with loading webpage from Mobile Network
« on: March 30, 2015, 06:33:00 PM »
Hi Everyone,
I am new to setting up websites, so I hope i am not asking a stupid question. I currently have two websites running off my server using virtual hosts. Which is great, and both pages will work from the web. You can access them using these links:
www.nestersparadise.org
and
www.legacyinkin.com
However, if I use my phone (not connected to wi-Fi) to load the pages, it goes to the default CentOS webpanel page. If I access a wi-fi network it will load the proper page. I have tested this issue on ATT, Verizon, and T-Mobile phones; the same issue is always present.
If this well help, here is my vhost file (the actual file has my email and IP):
# vhost_start nestersparadise.org
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerName nestersparadise.org
ServerAlias www.nestersparadise.org
ServerAdmin me@me.com
DocumentRoot "/home/npadam/public_html"
ScriptAlias /cgi-bin/ "/home/npadam/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/npadam/nestersparadise.org/*.conf
<IfModule mod_suexec.c>
SuexecUserGroup npadam npadam
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup npadam npadam
suPHP_ConfigPath /home/npadam
</IfModule>
<Directory "/home/npadam/public_html">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end nestersparadise.org
# vhost_start legacyinkin.com
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerName legacyinkin.com
ServerAlias www.legacyinkin.com
ServerAdmin me@me.com
DocumentRoot "/home/legink/public_html"
ScriptAlias /cgi-bin/ "/home/legink/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/legink/legacyinkin.com/*.conf
<IfModule mod_suexec.c>
SuexecUserGroup legink legink
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup legink legink
suPHP_ConfigPath /home/legink
</IfModule>
<Directory "/home/legink/public_html">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end legacyinkin.com
Any thoughts on this problem?
I am new to setting up websites, so I hope i am not asking a stupid question. I currently have two websites running off my server using virtual hosts. Which is great, and both pages will work from the web. You can access them using these links:
www.nestersparadise.org
and
www.legacyinkin.com
However, if I use my phone (not connected to wi-Fi) to load the pages, it goes to the default CentOS webpanel page. If I access a wi-fi network it will load the proper page. I have tested this issue on ATT, Verizon, and T-Mobile phones; the same issue is always present.
If this well help, here is my vhost file (the actual file has my email and IP):
# vhost_start nestersparadise.org
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerName nestersparadise.org
ServerAlias www.nestersparadise.org
ServerAdmin me@me.com
DocumentRoot "/home/npadam/public_html"
ScriptAlias /cgi-bin/ "/home/npadam/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/npadam/nestersparadise.org/*.conf
<IfModule mod_suexec.c>
SuexecUserGroup npadam npadam
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup npadam npadam
suPHP_ConfigPath /home/npadam
</IfModule>
<Directory "/home/npadam/public_html">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end nestersparadise.org
# vhost_start legacyinkin.com
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerName legacyinkin.com
ServerAlias www.legacyinkin.com
ServerAdmin me@me.com
DocumentRoot "/home/legink/public_html"
ScriptAlias /cgi-bin/ "/home/legink/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/legink/legacyinkin.com/*.conf
<IfModule mod_suexec.c>
SuexecUserGroup legink legink
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup legink legink
suPHP_ConfigPath /home/legink
</IfModule>
<Directory "/home/legink/public_html">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end legacyinkin.com
Any thoughts on this problem?
Pages: [1]