Score:0

Site can't be reached Virtual host Apache Manjaro

in flag

my httpd virtual host file

all sites access expect sachin.new are accessible.

"sachin.new" shows "site cannot be reached"

<VirtualHost *:80>
    ServerAdmin [email protected]
  DocumentRoot "/srv/http/sachin/public_html/"
    <Directory  "/srv/http/sachin/public_html/">
  Options Indexes FollowSymLinks 
  AllowOverride All

Require all granted
</Directory>
    ServerName sachin.test
    ServerAlias www.sachin.test
    ErrorLog "/var/log/httpd/sachin.test-error_log"
    CustomLog "/var/log/httpd/sachin.test-access_log" common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "/srv/http/DCC/public_html/"
<Directory  "/srv/http/DCC/public_html/">
  Options Indexes FollowSymLinks 
  AllowOverride All
  Require all granted
</Directory>
    ServerName dascc.test
    ServerAlias www.dascc.test
    ErrorLog "/var/log/httpd/dascc.test-error_log"
    CustomLog "/var/log/httpd/dascc.test-access_log" common
</VirtualHost>


<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "/srv/http/sachinnew/"
<Directory  "/srv/http/sachinnew/">
    Options Indexes FollowSymLinks 
    AllowOverride All
    Require all granted
</Directory>
    ServerName sachin.new
    ServerAlias www.sachin.new
    ErrorLog "/var/log/httpd/sachinnew.test-error_log"
    CustomLog "/var/log/httpd/sachinnew.test-access_log" common
</VirtualHost>
in flag
Please show the actual detailed error messages. Chances are that it's not the Apache configuration.
DAS CINE CREATIONS MUSIC avatar
in flag
error message and log files are empty
in flag
`site cannot be rached` is surely not the only message your client is showing. If yes, please use a command line client for the check and edit the complete output into your question.
Nikita Kipriyanov avatar
za flag
run something like `curl http://sachin.new`
DAS CINE CREATIONS MUSIC avatar
in flag
@NikitaKipriyanov output is <html> <h1>This is a Test Sachin</h1> </html>
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.