buy a domain ? yes and no
i used to use "no.ip.com"
and set up the "free" account
or you can buy an address
also just how did you install the apache stack ?
from the cent repos using yum ?
yum groupinstall "Web Server"
or by hand ,installing
and any others
i recommend the "by hand" for the first few installs
That way YOU LEARN
how to set up every config file . there are a few .
As for the delay, you've not said a single thing about what this authentication is, so we can't comment.
what did you set up in the httpd.conf ? and is the mysql DB also set to it ?
as i recall apache has 3 different ways set as examples in the VERY well documented conf file