| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | .htaccess + Domain Parking Hi Does anyone know what to add into a .htaccess file so that parked domains can be pointed to certain files e.g. http://www.domain1.com is a domain parked by a client. This domain needs to point to http://www.maindomain/parking/domain1.com It needs to be a dynamic .htaccess so that it can handle multiple redirects without having to add them to the .htaccess file. Thanks in advance for any guidance, Craig |
| |
| | #6 (permalink) |
| NamePros Regular | Yeah it is mod_rewrite but I need a dynamic solution as I am building a domain parking program similar to sedo/domain sponsor etc and want to handle all parked domains using .htaccess if possible Thanks in advance for any help you can provide, Craig |
| |
| | #7 (permalink) |
| Pro Coder & Designer | RewriteEngine On RewriteRule ^parking/(.*)/ park.php?domain=$1 they point to parking/domain.com and with parking.php?domain=$1 you can retrieve any additional data from the database.
__________________ Online Dragonball Game |
| |
| | #8 (permalink) |
| NamePros Regular | I already have that. I need to be able to point http://www.DOMAIN.com to parking/DOMAIN.com just like you can with sedo etc Thanks anyway Craig |
| |
| | #9 (permalink) |
| NamePros Regular | I have been advised that this is not possible by using htaccess 100%, does anyone have any working examples/ideas of how this can be done? I'm at my wits end, I will offer the domain name jdlt.net to anyone who comes up with an example that works 100% how I want it to. Craig |
| |
| | #10 (permalink) |
| NamePros Regular | Do you have access to the main config file or are you trying to make this work with a shared hosting account?
__________________ Need a break? Check out TheDamnBlog.com Free $6.95 directi accounts at Directi Name Bin Instant free $8.95 eNom accounts at Dncube.com |
| |
| | #12 (permalink) | |
| NamePros Regular | Quote:
__________________ Need a break? Check out TheDamnBlog.com Free $6.95 directi accounts at Directi Name Bin Instant free $8.95 eNom accounts at Dncube.com | |
| |
| | #14 (permalink) |
| NamePros Regular | This article help at all? Sorry if it doesnt: http://mitch.lockergnome.net/blog/_a...26/285119.html Joe |
| |
| | #16 (permalink) | |
| NamePros Regular | Quote:
bind an ip and instead use ip based hosting instead of name based hosting. Then in your code parse out the Host: part of the http headers and act on them accordingly.
__________________ Need a break? Check out TheDamnBlog.com Free $6.95 directi accounts at Directi Name Bin Instant free $8.95 eNom accounts at Dncube.com | |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redemption Grace Period | TopNames.com | Domain Newbies | 1 | 07-31-2007 11:04 AM |
| Parkingprimer / <-- Help??? / Domain Parking | faisj | PPC / CPC / CPM Programs | 15 | 03-24-2005 07:26 PM |
| Registering a .EU domain | mole | Domain Name Discussion | 1 | 12-18-2004 04:41 AM |
| Domain Names ( Registered / 1997-2004 ) | SWD | Domain Appraisals | 9 | 10-24-2004 08:14 AM |