This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Subdomain pointing issue
#1
[Not Solved] Subdomain pointing issue
Hi,

I have a main domain example.com.au and created 2 subdomains x.example.com.au and y.example.com.au. I have uploaded all its related files using filezilla under the location /public_html/x_example_com_au and /public_html/y_example_com_au. But while access the subdomain like x.example.com.au and y.example.com.au, it is showing the following error

"[color=var(--heading-color)]This site can’t be reached [/color]x.example.com.au’s server IP address could not be found. Search Google for x.example.com.au [color=var(--error-code-color)]ERR_NAME_NOT_RESOLVED [/color]"

Also I have added these domains in /etc/sentora/configs/apache/httpd.conf file like below. But still showing the above error. Please help to solve this issue and to show its files.

# DOMAIN: x.example.com.au
<virtualhost *:80>
ServerName x.example.com.au
ServerAdmin *************************
DocumentRoot "/var/sentora/hostdata/********/public_html/x_example_com_au"
php_admin_value open_basedir "/var/sentora/hostdata/********/public_html/x_example_com_au:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/********/x.example.com.au-error.log" 
CustomLog "/var/sentora/logs/domains/********/x.example.com.au-access.log" combined
CustomLog "/var/sentora/logs/domains/********/x.example.com.au-bandwidth.log" common
<Directory "/var/sentora/hostdata/********/public_html/x_example_com_au">
  Options +FollowSymLinks -Indexes
  AllowOverride All
  Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 403 /_errorpages/403.html
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 500 /_errorpages/500.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)

# Custom VH settings (if any exist)

</virtualhost>
# END DOMAIN: x.example.com.au
################################################################
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
Block the Sentora/zPanel login page for all undefined subdomain or direct IP access TGates 12 23 573 07-31-2019, 08:46 AM
Last Post: TGates
www to non www issue 13.supriadi 6 12 084 08-15-2018, 01:42 PM
Last Post: ogzcreative
how to forward subdomain to IP kewldude12 2 3 436 01-27-2018, 01:00 AM
Last Post: kewldude12

Forum Jump:


Users browsing this thread: 1 Guest(s)