Re: Unable to set up virtual hosts on Mac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




------------ Original Message ------------
> Date: Monday, March 21, 2016 08:50:05 +0100
> From: Roparzh Hemon <roparzhhemon@xxxxxxxxx>
>
> I've tried to set up a virtual host on my Mac, following all the
> instructions at
> https://coolestguidesontheplanet.com/how-to-set-up-virtual-hosts-in
> -apache-on-mac-osx-10-11-el-capitan/.
> 
> But when I type localhost/~myusernamehere/www.strawberry.com in my
> browser, I get a "404 Not Found : The requested URL
> /~myusernamehere/www.strawberry.com was not found on
> this server." message
> 
> The output of "/usr/sbin/apachectl configtest" is "AH00112: Warning:
> DocumentRoot [/Users/ewandelanoy/Sites/strawberry] does not exist
> Syntax OK"
> 
> In my ~/Documents/Sites I have a directory called
> www.strawberry.com. Should I rename it to just "strawberry" ?


You need to "show your work", i.e., at least the relevant parts of
your virtualhost configuration and the directory list showing the
documentroot for this virtualhost.

I suspect you are mixing concepts (servername vs. documentroot), and
likely not fully understanding what a virtualhost is and how one
would access it via a web server.

Do you control the domain "strawberry.com", or is this just an
obscured reference to the real domain you are using?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux