Re: Unable to connect to Apache test website on LocalHost

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

 



On Tue, 12 Apr 2022 17:12:16 -0400, DiversityLink/Milt Spain wrote:
>
> Apache2.4 installed and operating on Widows 7. Test site is loaded at =
> C:\Apache24\htdocs\testsite.com. Site index is loaded in the =
> testsite.com folder as index (an htm file). Virtual Hosts is set up as:
>
><VirtualHost *:80>
>    =20
>     ServerAdmin adm@xxxxxxxxxxx
>     DocumentRoot"C:Apache24/htdocs/"
>     ServerName testsite.com
                 ^^^^^^^^^^^^
What I do: 

      ServerName testsite.tst

In /etc/hosts:

192.168.0.17    www.testsite.tst testsite.tst

In my case(s) the testsite.tst matches up with my production 
testsite.com (or .net , .org , etc.) which is hosted elsewhere.

HTH
Jonesy
-- 
  Marvin L Jones    | Marvin      | W3DHJ.net  | linux
   38.238N 104.547W |  @ jonz.net | Jonesy     |  FreeBSD
    * Killfiling google & XXXXbanter.com: jonz.net/ng.htm


---------------------------------------------------------------------
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