Re: Problem new virtual host

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

 



I can ping both roissystudiotest.ca and www.roissystudiotest.ca

The host file entries:

192.168.0.77    roissystudiotest.ca
192.168.0.77    www.roissystudiotest.ca

The virtual-sites.conf file:

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /home/stephen/www/roissy.ca/public_html/roissystudio.ca
    ServerName www.roissystudiotest.ca
    <Directory /home/stephen/www/roissy.ca/public_html/roissystudio.ca>
        DirectoryIndex index.php
            AllowOverride All
        Require all granted
    </Directory>
    ErrorLog /home/stephen/www/roissy.ca/public_html/roissystudio/error.log
    TransferLog /home/stephen/www/roissy.ca/public_html/roissystudio/transfer.log
</VirtualHost>

Note: My directory structure follows the way my web host service sets up directories. My first site is at the top, and additional sites are sub directories.


Stephen
www.roissy.ca
On 2020-04-30 5:24 p.m., edflecko . wrote:
Can you ping both roissystudiotest.ca and www.roissystudiotest.ca?

Do you have something like:

    ServerName roissystudiotest.ca
    ServerAlias www. roissystudiotest.ca 

in your vhost file?  

Do you have an index file, of some sort, in the virtual home directory?

Ed

On Thu, Apr 30, 2020 at 12:40 PM Stephen <stephen@xxxxxxxxx> wrote:

I have a standard LAMP for development.

I set up a new virtual host about once every two years and always struggle.

I have added the web site to my hosts file and direct to my server. I have a dozen entries.

I have updated my virtual hosts Apache file

I can ping the new virtual host just fine.

But both Brave and Firefox raise an error saying that the host cannot be reached?

Firefox:

Unable to connect

Firefox can’t establish a connection to the server at roissystudiotest.ca.

Brave:

This site can’t be reached

www.roissystudiotest.ca refused to connect.



I was getting the Apache default page but corrected the file permissions to 755.



Any and all help welcome!

-- 
Stephen
www.roissy.ca

[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