Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Domain mapping solutions that don't involve wordpress? |
|
Author |
|
greenace92
Joined: 06 May 2015 Posts: 1 Location: USA, NY
|
Posted: Wed 06 May '15 9:30 Post subject: Domain mapping solutions that don't involve wordpress? |
|
|
Hello,
I used to have a server which had domain mapping via wordpress... a friend of mine had this up for me and every time I added a new website to the same server/ip-address, I just modified the .htaccess for example:
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} domain\.com
RewriteCond $1 !^domain
RewriteRule (.*) /domain/$1 [L]
Anyway, I no longer have this server and as a result, I have websites that are not being mapped correctly, many domains point to the same ip address.
I have tried to use name-based virtual hosts but it seems as if this is being ignored... I did restart Apache by sudo service apache2 restart
Any thoughts?
I'd really like to get my websites working again without buying multiple ip-addresses.
Thank you |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|