Community Discussions and Support
Map fictional domain to localhost

I'm not quite sure what your setup is, but 'localhost' at least has a meaning - a fictional 'domain.com' only works if you have your own DNS server or you alter all the host files.

Perhaps if you explain what it is you are trying to achieve and how many computers are involved, then someone may be able to assist.

<P>I'm not quite sure what your setup is, but 'localhost' at least has a meaning - a fictional 'domain.com' only works if you have your own DNS server or you alter all the host files.</P> <P>Perhaps if you explain what it is you are trying to achieve and how many computers are involved, then someone may be able to assist.</P>

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
 

<p>Hi everyone,</p><p>I'm using Mercury Mail along with XAMPP. I'm working on a component for Joomla right now. </p><p>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: </p><p>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. </p><p>I heard that  something like this would be possible by editing httpd.conf of apache. However, I don't know how...</p><p>Any help would be appreciated.</p><p>Alex  </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft