Map fictional domain to localhost

Alles, was den Apache betrifft, kann hier besprochen werden.

Map fictional domain to localhost

Postby Batch1211 » 04. May 2008 15:22

Hi everyone,

I'm using Mercury Mail along with XAMPP. I'm working on a component for Joomla right now.

For my testing environment I have set up a couple of fictional users with mercury email accounts. The goal is, when someone signs in, that he gets an email with the signup information. The problem is:

As long as my test users have email adresses like boris@localhost or steve@localhost I cannot set up proper email adress validation processes, because localhost is not a real domain name. I would therefore like to map a fictional domain name like "domain.com" to localhost. Then my test users could have an email like boris@domain.com and set up real validatin processes.

I heard that something like this would be possible by editing httpd.conf of apache. However, I don't know how...

Any help would be appreciated.

Alex
Batch1211
 
Posts: 1
Joined: 04. May 2008 15:19

Return to Apache

Who is online

Users browsing this forum: No registered users and 14 guests

cron