apache and httpd issues(I believe this is DA related)

mrstarware

Verified User
Joined
Mar 5, 2007
Messages
19
Ok, hi guys I got 2 issues

1. I tried to use direct admin's "reload httpd" feature and it crashed my website..
I'm told that there's some error with the reload.

2>&1 or something like that.

2. I'm not sure if this was an installation mistake or not though my user level doesn't work telling me I need to add a domain.

I'm thinking my adminstator account doesn't have my domain name attached or something. I tried to add my domain in the user level and I was told it "already exists"

HELP!!!!!!
 
1. I tried to use direct admin's "reload httpd" feature and it crashed my website..
I'm told that there's some error with the reload.

Ok then restart apache.

I tried to add my domain in the user level and I was told it "already exists"

Show all users. You should see your domain somewhere in there. If not then ssh in and delete the domain from the /etc/named.conf file.
 
Ok then restart apache.



Show all users. You should see your domain somewhere in there. If not then ssh in and delete the domain from the /etc/named.conf file.


The apache restart worked however I'm not quite sure how to edit /etc/named.conf I'm using putty SSH client.

Thank you for your help,

Mrstarware
 
I'm not quite sure how to edit /etc/named.conf

I am not sure which text editors you have installed. I am sure you have vi but I never learned to use that one. nano and pico are others that are easier. Try typing

Code:
nano -w /etc/named.conf
or
Code:
pico -w /etc/named.conf

Both are fairly intuitive.
 
Last edited:
I just figured out how to work the SSH system.

Now I have the Apache page insted of my selected content for my domain..

How do I switch from "you've installed apache correctly" to my webpage?
 
If you have added your domain then you will not get the apache page. You will get the apache page if you use the server ip address in the browser.
 
Under all users my admin account now has my domain name.

Where is the apache page stored? This is starting to get confusing now that everything *seems* to be working.
 
For your domain name you should *not* be getting the apache page. You should be getting the default DirectAdmin page which will also include your domain name in the page. If you get the apache page then something is not set up right. Delete your domain and start over.
 
Back
Top