Do you receive the server default page from the subdomain?

Do you receive the server default page from the subdomain?

We know that you have a situation to get server default page repeatedly from the subdomain. No need to get panic! You have a cool solution to solve this issue immediately. Just think and make a conclusion – have you got any symptoms before getting the server default page? It may help now at any cause.

Now, ensure whether you have two things such as installation of the web server and Litespeed. Use the command to know the status of installation:

Code:
# service httpd status
Litespeed is running with PID 51813

Along with this problem, you may have encountered other problems with broken web configuration files in the domain. Cross-check with the troubleshooter of Webserver Configuration. This may lead to getting fail in the reconfiguration of Apache:

You will get the error as:

Code:
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
Warning: DocumentRoot [/var/www/vhosts/example.com/example2.com] does not exist
Syntax error on line 49 of /etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf:
SSLCACertificateFile: file '/usr/local/psa/var/certificates/certO6cmTF' does not exist or is empty
If you choose wen-sslcerts Plesk repair then it might be useless in this current situation. Someone has to involve directly to change a few activities in Apache configuration. It’s just because of the Apache configuration broken mode.

Till now, you would have understood the complication faced by the Apache configuration and server default page.

Let’s start analyzing the solution one by one:

Step 1:
Use SSH for connecting the server. You must land on web server of Apache. So, start executing the command:

Code:
# /usr/local/lsws/admin/misc/cp_switch_ws.sh apache
Step 2: It’s time to solve the error missing certificate:

Code:
# ls -la /usr/local/psa/var/certificates/
total 20
...
-r-------- 1 psaadmpsaadm 5024 Jun 2 15:48 cert5RtOCpu
# cp /usr/local/psa/var/certificates/cert5RtOCpu /usr/local/psa/var/certificates/certO6cmTF
Code:
Step 3: Start fixing the error of DocumentRoot by creating the directories which get missed out in its sequence.

Step 4: Use the command for starting the Apache:

Code:
# service Apache start
Step 5: Cross-check whether other domains too have the same error. If yes! Kindly repeat the before steps for all those domains.

Step 6: Let’s take reconfiguration of webserver configuration files just by executing below command:

Code:
# /usr/local/psa/admin/bin/httpdmng –reconfigure-all
This command helps to start Apache.

Step 7: Now, move onto LiteSpeed by executing the below command:

Code:
# /usr/local/lsws/admin/misc/cp_switch_ws.sh lsws
Over! Use the above steps to fix the error receiving the server default page.
Author
kumkumsharma
Views
2,021
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kumkumsharma

Top