FreeHostia Forums http://forum.freehostia.com/ |
|
redirect all subdomain to an specific path http://forum.freehostia.com/viewtopic.php?f=6&t=8673 |
Page 1 of 1 |
Author: | fabsys [ Tue Dec 11, 2007 2:25 pm ] |
Post subject: | redirect all subdomain to an specific path |
Hello all, I have an external domain with freehostia dns server set and added to the control panel, it work well I have an freeplan and I search for redirect all subdomain to my domain but I haven't found how to ... for exemple I want : anysubdomain.domain.com -> to www.domain.com sorry for my english Best regard Fabsys |
Author: | Josh.Waller [ Tue Dec 11, 2007 4:41 pm ] |
Post subject: | |
Hey Take a look at this site http://www.webconfs.com/how-to-redirect-a-webpage.php It should tell you everything you need about re-directing and more. Josh.Waller |
Author: | fabsys [ Tue Dec 11, 2007 9:44 pm ] |
Post subject: | |
Thank you Josh.Waller, but it isn't the problem .... the problem come from the configuration of dns ... I want associate all my subdomain to my account and it isn't the case ... something like this: * A IP_of_my_account I have tryed to find the real path of my path (my web space) something like this: http://64.72.119.195/www/fabsys.freehostia.com (but it isn't ok) I just want redirect all subdomain to my www.domain.fr for exemple anywhere.d0t.fr -> www.d0t.fr xxxxxxxx.d0t.fr -> www.d0t.fr allsubdomain.d0t.fr -> www.d0t.fr fabsys@ubuntu:~$ host d0t.fr ------> it's OK d0t.fr has address 64.72.119.195 d0t.fr mail is handled by 10 mbox50.freehostia.com. fabsys@ubuntu:~$ host www.d0t.fr ------> it's OK www.d0t.fr has address 64.72.119.195 fabsys@ubuntu:~$ host other.d0t.fr ------> it's not OK other.d0t.fr has address 62.210.183.12 ---> my ISP notify me "there aren't website set on this adress Host other.d0t.fr not found: 3(NXDOMAIN) Host other.d0t.fr not found: 3(NXDOMAIN) fabsys@ubuntu:~$ host subdomain.d0t.fr ------> it's not OK subdomain.d0t.fr has address 62.210.183.12 ---> my ISP notify me "there aren't website set on this adress Host subdomain.d0t.fr not found: 3(NXDOMAIN) Host subdomain.d0t.fr not found: 3(NXDOMAIN) I need to configure the dns for Answer to all (any) subdomains ..... fabsys@ubuntu:~$ whois d0t.fr ... domain: d0t.fr address: Ano Nymous admin-c: ANO00-FRNIC tech-c: TCP8-FRNIC zone-c: NFC1-FRNIC nserver: dns1.freehostia.com --> managed by freehostia dns OK nserver: dns2.freehostia.com --> managed by freehostia dns OK mnt-by: FR-NIC-MNT mnt-lower: FR-NIC-MNT changed: nic@nic.fr 20071211 source: FRNIC ..... |
Author: | Josh.Waller [ Wed Dec 12, 2007 2:18 pm ] |
Post subject: | |
Oh i see interesting one, i shall have a think about it and get back to you. |
Author: | Josh.Waller [ Wed Dec 12, 2007 2:24 pm ] |
Post subject: | |
.htaccess Code: RewriteEngine on
RewriteCond %{HTTP_HOST} ^subdomain.domain.com RewriteRule ^(.*) http://www.domain.com/$1 [L,R=301] http://forums.digitalpoint.com/showthread.php?t=45759 |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |