Jump to content

HELP needed with multi-domain test


Recommended Posts

Hi guys,


I want to set up MAMP in order to test prestashop with multiple local fake-domains.


My http.conf looks like this:

<VirtualHost localhost-test.com>
    ServerName localhost-test.com
    DocumentRoot /Applications/MAMP/htdocs-localhost-test.com


In my /etc/hosts I got: localhost-test.com



Now when calling "localhost-test.com" in firefox everything looks fine, BUT the links are internal not generated correctly. For example:

{$link->getPageLink('my-account.php', true)} give out "localhost/my-account.php" instead of "localhost-test.com/my-account.php"


Whats wrong? Do you have an idea?


Thanks for your help


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More