help- Apache is functionin​g normally after the install

eyal

New member
Joined
Feb 21, 2011
Messages
8
hello.
afther finish the install of directadmin.
i get this message on the main page:
Apache is functionin​g normally
what is that??? i cant do nothing.
why do i get this message?
i want to see my website work on the ip and on the domain.
so why i dont get the Default page of directadmin to upload my website.
i am the root of the server.
afther the install i got admin username and password to login to directadmin.
but how do i login to the ftp to chance the main website?
i want to put new index. and upload staff to the website?
please help me step by step what to do. beacuse i am new to directadmin.
and i read also the guide but its didnt help me.
so i need your help.

thanks.
 
what you mean?

the domain manger is point to the ip.
what do you mean point your dns to the ip????
i think its point
domain: spdhost.co.il
ip: 217.79.190.127
 
And check /etc/httpd/httpd.conf. Make sure there's an include to /etc/httpd/extra/directadmin-vhosts.conf, which should contain the references to your websites. :)

I reinstalled last week and had to replace that directadmin-vhosts.conf file with the one I backupped. :)
 
hi

how can i do it???
can you help me please step by step????
the installion made by directadmin support.
so how do it do it? please tell me how to fix the problem step by step.
 
i have

i have this line on /etc/httpd/conf/httpd.conf

# All the DirectAdmin vhosts
Include conf/extra/directadmin-vhosts.conf

so what to do now???
 
i made

hi
i made this command now but nothing happends.
its restart the httpd and start it.
but still i have this message, what the next steps?
 
hi

and i have another problems when i try to add users.
why the subdomain of them dont working???????
its only work like that: http://217.79.190.127/~xxx/
i want also its work like: xxx.spdhost.co.il
so why its not working??????
 
.

who can help me???????
i want to upload my website on this ip i want there will be open index page. or forum on this ip. so do i chance it on the ftp??????????
 
.

and i have 1 ip this is the problem??????
and why i cant see my website?
 
Did you do an install for the first time with directadmin or dit do a reinstall where you had directadmin before?

As for a new install well you have to login to DA by using http://<ip>:2222. Once logged in you can add domains which will then be saved to the file I mentioned before.

If you have used DA before and did a new insatll I assume you made a backup before updating/installing DA. Try copying the directamdin-vhosts.conf file from you backup to /etc/httpd/conf/extra.

I assumed you had a working DA before. If not and it is your first time to use DA then you have to create domains, subdomians ftp accounts, email accounts and databases if your site works with databases. :)

Once created the domain/subdomain and and FTP account you can upload your website to the public_html folder. Note: subdomains appear as a subfolder in your domain/public_html folder.

Hope this helps. :)
 
The domain is now properly pointing to a placeholder site on the server, as it should.

Jeff
 
I figured something else out. Maybe it's your problem too. Suddenly my websites gave the page "It works" too. Which means apache is functioning but it's not reading the right config files. So I checked my /etc/rc*.d by using the following:
find /etc/rc*.d | grep apache2
find /etc/rc*.d | grep httpd

If found out that my runlevels from rc2.d till rc5.d from apache2 were named like this:
Apache2: /etc/rc2.d/S20apache2
httpd: /etc/rc2.d/S20httpd

In my case both start with S20 and apache2 got started first. I changed the name for http in the rc2.d till rc5.d levels to S19httpd and everything worked again.

I also tried running "update-rc.d httpd defaults" first and then the same for apache2, but that didn't work. Ofcourse I had to remove the apache2 and httpd before I could run update-rc.d. So the name in my runlevels were causing the problem of apache functioning normally.

BTW I have debian 6 as my OS.
I updated rc.d by the following (after removing the apache2 and httpd from my rc*.d first):
update-rc.d httpd defaults 20
update-rc.d apache2 defaults 21

I rebooted and everything worked fine again. :)


Hope this helps someone. :)
 
Last edited:
You should only have one apache (httpd) installed on your system. If you have both an Apache2 and httpd init script, then something during the installation went wrong. I use CentOS and I know the DirectAdmin install scripts uninstall all the software that would be replaced by their customized versions (httpd, ftp, named,...). I am guessing the Apache2 was installed by default by the OS and the httpd was installed by DirectAdmin.
 
Ill have a look, but I think apache got installed for the second time because I installed ffmpeg or ffmpeg-php from a package. :)

Thanks for the heads up. :)
 
Last edited:
Back
Top