Re: [users@httpd] virtualhost redirects to root on mobiles

2014-01-30 Thread Otis Dewitt - NOAA Affiliate
NameVirtualHost *:80 ServerAdmin webmaster@localhost ServerName www.morebearsmore.com ServerAlias morebearsmore.com On Thu, Jan 30, 2014 at 1:30 PM, Josh Stratton wrote: > I tried that. I'm including the actual config file in

Re: [users@httpd] virtualhost redirects to root on mobiles

2014-01-30 Thread Otis Dewitt - NOAA Affiliate
Try NameVirtualHost *:80 "above " Thanks, Otis On Thu, Jan 30, 2014 at 1:30 PM, Josh Stratton wrote: > I tried that. I'm including the actual config file in sites-available if > it helps. > > > ServerAdmin webmaster@localhost > ServerName morebearsmore.com > ServerAlias www.moreb

Re: [users@httpd] virtualhost redirects to root on mobiles

2014-01-30 Thread Josh Stratton
I tried that. I'm including the actual config file in sites-available if it helps. ServerAdmin webmaster@localhost ServerName morebearsmore.com ServerAlias www.morebearsmore.com DocumentRoot /var/www/morebearsmore.com/public_html Options FollowSymLinks AllowOverride None Options I

Re: [users@httpd] virtualhost redirects to root on mobiles

2014-01-30 Thread Otis DeWitt
Try creating a server alias and restart apache. DocumentRoot /www/server1 ServerName example.com ServerAlias www.example.com Sent from my iPhone > On Jan 30, 2014, at 1:04 PM, Josh Stratton wrote: > > I setup an apache server a while back without a virtualhost and got > everything working f

[users@httpd] virtualhost redirects to root on mobiles

2014-01-30 Thread Josh Stratton
I setup an apache server a while back without a virtualhost and got everything working fine. I added a virtualhost for my wife and it seems to work fine on desktops, but on our phones (an iphone and a windows phone), both redirect to my root site if the user adds www to the domain in the address b