It is currently Wed Dec 02, 2020 1:58 am
All times are UTC + 8 hours

Virtual Host with or without "www" prefix

Web hosting, MySQL, PHP and all that good stuff.

Virtual Host with or without "www" prefix

Postby n2vwz » Mon May 13, 2013 10:38 pm

I set up a virtual host "myhost.dyndns.org". This works fine.

I tried prefixing the url with www ("www.myhost.dyndns.org") and I'm just getting the Congratulations - You have successfully enabled the Web server on your ASUSTOR NAS message.

I would like the site to work with or without the www prefix. Do I need to create a second virtual site to work with the www prefix or will naming the virtual site " *.myhost.dyndns.org" perform this function?

Jim
n2vwz
 
Posts: 41
Joined: Fri May 03, 2013 6:39 am

Re: Virtual Host with or without "www" prefix

Postby James.W@AST » Tue May 14, 2013 5:43 pm

I think you will need to create two vHost. Or maybe you can consult this with blackstar and he can give you some better suggestions : )
To Infinity and Beyond!

Friends of My AS-606T: (RAID 5 with WD Black 2TB * 4, WD Red 2TB * 2)
MacBook Air (10.8) & Self-assembled Windows PC (Windows 7)
iPhone 4S (iOS 6) & iPad 2 (iOS 6)
Boxee Box, Logitech Squeezebox Duet
SONY HT-CT150 Sound Bar (Connected directly to the NAS via HDMI)
CISCO Linksys E4200
User avatar
James.W@AST
 
Posts: 189
Joined: Wed Jun 06, 2012 12:50 am

Re: Virtual Host with or without "www" prefix

Postby TheDave1022 » Fri Aug 23, 2013 10:46 am

Can we have more than 8 virtual hosts? With needing to setup 1 with www and another without, it's not very flexible if as we can only really have 4.
TheDave1022
 
Posts: 104
Joined: Tue Dec 04, 2012 9:47 am

Re: Virtual Host with or without "www" prefix

Postby Mechano » Fri Mar 14, 2014 11:11 pm

TheDave1022 wrote:Can we have more than 8 virtual hosts? With needing to setup 1 with www and another without, it's not very flexible if as we can only really have 4.


You can have more than 8 wirtualhosts, if you go from shell.
I wrote a tutorial:

viewtopic.php?f=49&t=3219
Mechano
 
Posts: 25
Joined: Wed Mar 12, 2014 7:34 am

Re: Virtual Host with or without "www" prefix

Postby aajamilkhan » Thu Jan 15, 2015 9:20 pm

I tried prefixing the url with www ("www.myhost.dyndns.org") and I'm just getting the Congratulations - You have successfully enabled the Web server on your ASUSTOR NAS message.
aajamilkhan
 
Posts: 1
Joined: Thu Jan 15, 2015 9:17 pm

Return to Web Hosting

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 3 guests