Jump to content
Froxlor Forum
  • 0
Hazard Droid

It Opens The Admin Panel

Question

Hi, It's Me Again After Last Time I Just Deleted The Whole Server And Recreated Every Thing Form The Start And That Worked For Me But Now I'm Facing A New Problem Domain Isn't Working Well

1700191574_DomainManager(1).thumb.png.08dca31ab27583c7336645b6d456fb70.png
Like In The Image Above I Have Pointed My Domain's A Records To My Server's IP Address 
1440930472_admin.ips-FroxlorServerManagementPanel.thumb.png.89e7f63ae1997d489136bf97748885c3.png
And Also Given The Domain A Document Root But When I Open The Domain From My PC It's Opens The Old Website (Maybe There's Some Issue With My Browser) But When Open The Domain From The Server Or Browserling It Opens The Froxlor Admin Panel
Now Tell Me Where I Did It Wrong? And How Do I Fix This.

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

if it opens the admin panel, then maybe there is no vhost config for the domain. Please check if the cronjob runs correctly. Or run it manually:

php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug

 

Share this post


Link to post
Share on other sites
  • 0
8 hours ago, d00p said:

if it opens the admin panel, then maybe there is no vhost config for the domain. Please check if the cronjob runs correctly. Or run it manually:


php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug

root@cp:~# php /var/www/html/scripts/froxlor_master_cronjob.php --force --debug

[information] cron_tasks: Searching for tasks to do
[information] apache::createIpPort: creating ip/port settings for  45.76.84.61:80
[debug] 45.76.84.61:80 :: inserted listen-statement
[debug] 45.76.84.61:80 :: inserted vhostcontainer
[information] apache::createIpPort: creating ip/port settings for  45.76.84.61:443
[error] 45.76.84.61:443 :: certificate file "/etc/apache2/apache2.pem" does not exist! Cannot create ssl-directives
[debug] 45.76.84.61:443 :: inserted vhostcontainer
[information] apache::createVirtualHosts: creating vhost container for domain 2, customer hazard
PHP Warning:  touch(): Unable to create file /var/customers/logs/hazard-hazarddroid.com-error.log because No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 726
PHP Warning:  chown(): No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 727
PHP Warning:  chgrp(): No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 728
PHP Warning:  touch(): Unable to create file /var/customers/logs/hazard-hazarddroid.com-access.log because No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 732
PHP Warning:  chown(): No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 733
PHP Warning:  chgrp(): No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 734
[information] apache::createVirtualHosts: creating vhost container for domain 1, customer hazard
PHP Warning:  touch(): Unable to create file /var/customers/logs/hazard-error.log because No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 726
PHP Warning:  chown(): No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 727
PHP Warning:  chgrp(): No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 728
PHP Warning:  touch(): Unable to create file /var/customers/logs/hazard-access.log because No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 732
PHP Warning:  chown(): No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 733
PHP Warning:  chgrp(): No such file or directory in /var/www/html/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 734
[information] apache::writeConfigs: rebuilding /etc/apache2/sites-enabled/
[information] apache::writeConfigs: rebuilding /etc/apache2/htpasswd/
[information] apache::writeConfigs: rebuilding /etc/apache2/sites-enabled/
[information] apache::reload: reloading apache
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
[information] Task4 started - Rebuilding froxlor_bind.conf
[information] Cleaning dns zone files from /etc/bind/domains/
[debug] domId    domain                                  ismainbutsubto parent domain                           list of child domain ids
[debug] 1        hazard.cp.myipshost.tk                  0              -                                       
[debug] 2        hazarddroid.com                         0              -                                       
[information] `/etc/bind/domains/hazard.cp.myipshost.tk.zone` written
[debug] Generating dns config for hazard.cp.myipshost.tk
[information] `/etc/bind/domains/hazarddroid.com.zone` written
[debug] Generating dns config for hazarddroid.com
[information] froxlor_bind.conf written
[information] bind daemon reloaded
[information] Task4 finished
[notice] Checking system's last guid

 

 

Share this post


Link to post
Share on other sites
  • 0

That looks like you did not setup froxlor completely. Did you go through the configuration templates at all?

Share this post


Link to post
Share on other sites
  • 0

Login as admin, left side menu, click on "configuration". Then chose your distribution, go through every category and for each category, select all used services 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...





×
×
  • Create New...