gamingpassport Posted September 13, 2009 Posted September 13, 2009 The situation: I've got a user-friendly URL: http://gamingpassport.heliohost.org/users/crazydanceXL/ and i've got a domain name: www.gamingpassport.nl now i want t type in www.gamingpassport.nl/users/crazydanceXL/ But that doesn't work. How can I program my HTACCESS to do just that? Currently the contents of the htaccess look like this: Options +FollowSymLinks Options -Indexes RewriteEngine On RewriteBase / AddType image/png ^tags/(.*).php$ RewriteRule ^admin/.*$ - [PT] RewriteRule ^setup/$ index.php?page=setup [L] RewriteRule ^regels/$ index.php?page=regels [L] RewriteRule ^partners/$ index.php?page=partners [L] RewriteRule ^terms/$ index.php?page=terms [L] RewriteRule ^activatie/(.*)$ index.php?page=activatie&code=$1 [L] RewriteRule ^inbox/$ index.php?page=messagebox [L] RewriteRule ^inbox/create/$ index.php?page=messagebox&create=create [L] RewriteRule ^reply/(.*)/(.*)$ index.php?page=messagebox&create=reply&user=$1&msid=$2 [L] RewriteRule ^inbox/(.*)$ index.php?page=messagebox&message=$1 [L] RewriteRule ^marketplace/(.*)$ index.php?page=marketplace&game=$1 [L] RewriteRule ^koopnu/(.*)/(.*)$ index.php?page=marketplace&game=$1&user=$2 [L] RewriteRule ^aanvragen/$ index.php?page=aanvragen [L] RewriteRule ^aanvragen2/$ index.php?page=aanvragen2 [L] RewriteRule ^aanvragen3/$ index.php?page=aanvragen3 [L] RewriteRule ^users/([0-9a-zA-Z]+)/(.*)$ index.php?page=users&user=$1&tab=$2 [L] RewriteRule ^tags/(.*).png$ gamertag.php?username=$1 [L]
Wizard Posted September 13, 2009 Posted September 13, 2009 Did you add www.gamingpassport.nl as a parked domain? Did you change the nameserver config on www.gamingpassport.nl to ns1.heliohost.org and ns2.heliohost.org?
gamingpassport Posted September 13, 2009 Author Posted September 13, 2009 Did you add www.gamingpassport.nl as a parked domain? Did you change the nameserver config on www.gamingpassport.nl to ns1.heliohost.org and ns2.heliohost.org? i'm not very 1337 in these things, so what settings do i need? I'm guessing that i have to create a CNAME record of it and then hook the NS's up to that? I can choose btween A, AAAA, MX, CNAME and TXT. Don't think it's a parked domain though. they didn't mention anything about that.
Byron Posted September 13, 2009 Posted September 13, 2009 i'm not very 1337 in these things, so what settings do i need? I'm guessing that i have to create a CNAME record of it and then hook the NS's up to that? I can choose btween A, AAAA, MX, CNAME and TXT. Don't think it's a parked domain though. they didn't mention anything about that. You don't want to use htaccess for what your wanting to do. You need to go to your cPanel and add a "Parked Domain". Just type in "gamingpassport.nl" as your parked domain. And then go to your domain name provider and set up your domain to point to heliohost's name servers like Wizzard said. ns1.heliohost.org ns2.heliohost.org and then wait about 24 hours.
gamingpassport Posted September 13, 2009 Author Posted September 13, 2009 Got the cpanel set for it. no redirection needed? Anyway, how do I change it at the domain name provider? I've got three A records all pointing to a different location, but with the same IP number: 1: A -> '' -> 81.4.97.171 2: A -> '*' -> 81.4.97.171 3: A -> 'www' -> 81.4.97.171 So i'll guess i'll have to change that IP to your nameservers? And duplicate the records for the second nameserver? Would be way-cool if it works like that, it's been a braintwister since I began with it Edit: Tried to change it, but probable A records do not accept the nameservers provided as a valid DNS... CNAME does however. Kept it on A record though seeing that it actually filled in the addresses... I now got a internal server error from heliohost (Which is strange because i wouldn't expect my domain provider has updates his settings that fast.)
Byron Posted September 13, 2009 Posted September 13, 2009 Got the cpanel set for it. no redirection needed? No redirection. Edit: Tried to change it, but probable A records do not accept the nameservers provided as a valid DNS... CNAME does however. Kept it on A record though seeing that it actually filled in the addresses... I now got a internal server error from heliohost (Which is strange because i wouldn't expect my domain provider has updates his settings that fast.) You probably need to edit your htaccess from everything you tried using. That should clear up the Internal Server Error. When all is well and done, you can access ALL of your pages through this domain: www.gamingpassport.nl EDIT: You might want to contact your registrar and ask them how to correctly set the name servers.
gamingpassport Posted September 13, 2009 Author Posted September 13, 2009 Off-topic: This is starting to look like a slowchat. anyhow, I went over my htacces and found something really stupid. Threw it out, and i've got my site back, except from my domain name, (Actually it will give me helionet.org back. why?) I'll be betting on the fact that the DNS record will not be update for another twelve hours. So i'm greatly helped now, and i'll be checking my website tomorrow from the domain name with the new settings. One more thing, I pinged the nameserver and got the IP number back. Filled that in on the DNS settings and pulled the type to A. It's actually the first time that i'm fiddling with DNS settings and domain names. I hope my action is legal and that it works i'm using ns1.heliohost.org as nameserver, because I couldn't ping ns2.heliohost.org. I'll update status tomorrow when i know more
Byron Posted September 13, 2009 Posted September 13, 2009 You need to use both name servers. ns1.heliohost.org ns2.heliohost.org Contact your name server provider and ask them how to correctly set the name servers to heliohost because I'm not familiar with them. And your right it will take a day or two for the propagation to take effect.
gamingpassport Posted September 13, 2009 Author Posted September 13, 2009 Can you ping that? I can't get any response from the second one, first one works, but the second one looks dead, No use filling in a nameserver when it's dead right? Could it be that it's because i'm operating from the Netherlands? (Yes, in europe, be jalous ) Also, what type should I use, A or CNAME?
Byron Posted September 13, 2009 Posted September 13, 2009 Can you ping that? I can't get any response from the second one, first one works, but the second one looks dead, No use filling in a nameserver when it's dead right? Could it be that it's because i'm operating from the Netherlands? (Yes, in europe, be jalous ) I'm not sure why only one is showing alive but the way it works is if ns1 goes down then it chooses ns2 and you definetly need to use both. Also, what type should I use, A or CNAME? Mine has two fields for name servers (NS) and that's why I think it best for you to contact your name server provider and ask them. You can do a Name Server (NS) Lookup on your domain name with this tool and see where it's pointing now. http://www.kloth.net/services/nslookup.php enter: gamingpassport.nl
gamingpassport Posted September 14, 2009 Author Posted September 14, 2009 Hm I can't seem to set the type to NS, so I dropped a question at their helpdesk. But that tool je mentioned is cool though, gives proof that it actually works, without going through all the hassle of testing and trying. Now we wait for a answer from them. But i'm sure that will not take very long... anyway the heliohost part is all set and we know where the problem is. So i'm hoping that mijn domain provider let's me set the NS record for both servers. Otherwise i'm considering moving it to a provider that will actually let me set that. Or heliohost must have an alternative to the NS records?
gamingpassport Posted September 15, 2009 Author Posted September 15, 2009 Helpdesk gave me an answer. They will set the NS records manually. They told me it was basically a safety thing that they didn't incorporate it in the user panel. Anyway, the ywill set the NS records to ns1.heliohost.org and ns2.heliohost.org and then we'll see what happens. although i'm fairly confident that this will be the answer. All hail to google-friendly URL's
Byron Posted September 15, 2009 Posted September 15, 2009 Great! Sounds like your all set to go then.
gamingpassport Posted September 15, 2009 Author Posted September 15, 2009 Great! Sounds like your all set to go then. I'm just waiting for the servers to change. then I'll know more, but it's great that they want to do the change for me. Currently it just kicks me helionet.org main page, so i guess it didn't update just yet, although it is strange that the web address knows that helionet exists. So maybe it has been done but something goes wrong? I just wish as wasn't such a n00b at these things When the change has been done heliohost's server will overrride any settings I make in the user panel at my domain name provider right? Because of the name server change? Server at heliohost is all set so we'll just have to wait and see what happens.
Byron Posted September 15, 2009 Posted September 15, 2009 When the change has been done heliohost's server will overrride any settings I make in the user panel at my domain name provider right? Because of the name server change? Server at heliohost is all set so we'll just have to wait and see what happens. The only thing you do at the cpanel is add the Parked Domain name and it won't change anything on the name server user panel. Anyway it looks like the changes have taken place cause I'm going to your site: http://gamingpassport.nl and the nameservers are set correctly: http://byrondallas.heliohost.org/php/tools...mingpassport.nl
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now