Apache Test Page with WWW

Venezia

Verified User
Joined
Nov 29, 2005
Messages
9
I have a site on an assigned IP so that it can use its own SSL certificate.

At present mydomain.com shows the placeholder page for the domain.

But www.mydomain.com shows the Apache Test Page.

How do I get www.mydomain.com to serve the placeholder page.

By the way the DNS looks correct. It has an A Record pointing www to the correct assigned IP

This is the DNS record:

ftp A xxx.xxx.xxx.253
localhost A 127.0.0.1
mail A xxx.xxx.xxx.253
ns1.mydomain.com. A xxx.xxx.xxx.251
ns2.mydomain.com. A xxx.xxx.xxx.252
mydomain.com. A xxx.xxx.xxx.253
pop A xxx.xxx.xxx.253
shop A xxx.xxx.xxx.253
www A xxx.xxx.xxx.253
www.shop A xxx.xxx.xxx.253
mydomain.com. NS ns1.mydomain.com.
mydomain.com. NS ns2.mydomain.com.
mail MX 1
 
Last edited:
Okay, after about 2 hours, it magically works as expected.

But I still don't know why this happened.

I even tried restarting apache and restarting DA and surely it has nothing to do with DNS propagation.

??
 
It's possible apache didn't restart after the modifications and was triggered by something else (such as the tally).
 
It depends what you mean by "upsetting DA". It could upset some users as it will end all sessions.

Jeff
 
I guess I meant would DA's management logic be compromised if certain services such as apache are restarted from the shell and not from within the CP.

I'm very new to DA and don't know how tolerant it is of shell "workarounds".

I guess it's best to do as much as possible via the CP.
 
DA is the most tolerant of any control panel of things done at the shell.

But it does run check of what it thinks are running services every minute, so if you're going to stop a service the easiest way is through the control panel.

Jef
 
yes the difference is if you issue stop via the shell DA will still try to start it every minute, but if done via the control panel it will also disable the monitoring so it doesnt start again.

I am going to ask john if the rc.d script can be made to stop the monitoring if stop is issued (not restart) so it makes it easier to do maintenance.
 
Interesting thought, and frankly, I'd like it.

However, I can't see how to do it without rewriting the service command (for linux; not even sure of what to rewrite on BSD).

Jeff
 
Back
Top