I've been using one domain for some time now, very well (since 2006 with a very modest 10-15 active users) and I have recently tried to expand a little on my hosting.
I've successfully setup XAMPP for my Windows 7 server and configured the ftp/mail/apache/php modules seperately. However I've fancied tricking the setup into thinking it can handle multiple domains.
I have threepwud.com in my xampp/htdocs/ folder and threepwud.co.uk in xampp/htdocs/threepuk (with the intent eventually moving threepwud.com to xampp/htdocs/threepwud)
In the httpd-vhost.conf file I've edited in two extra domains to reflect this:
- Code: Select all
Threepwud.com automatically redirects to xampp/htdocs/ and threepwud.co.uk does indeed go to xampp/htdocs/threepuk but in threepwud.com (on the website) I have a link pointing to threepwud.co.uk and it simply loads up a threepwud.com index page. I've also added a third domain (hldrfans.com) and this too directs automaticallly to threepwud.com.
What could I be doing wrong? Why isn't the url link redirecting correctly?
Many thanks for ny help provided -