March 17, 200917 yr OK, I have a question! And please bare with me here... I have set up a sub-domain here in the UK on an in-house server called (for example purposes) company1.mycompany.com for a customer in Asia. Their top level domain is owned by a 3rd party Asian company. Now...I have contacted the 3rd party asking them to point the www.company1.com URL they own to the sub-domain company1.mycompany.com I have set up here in the UK. This is where I get a problem... When I go to www.company1.com the address in the address bar changes to the sub-domain address company1.mycompany.com This is not what I want. I want www.company1.com to stay in the address bar across the entire site. At the moment, if I link to a specific page, like this: www.company1.com/contact.html it does NOT WORK I have to link to it like this: company1.mycompany.com/contact.html Does anyone know where the problem resides here? Is it something I have to sort out my end or is it something they have to sort out their end? We are going around and aroooound in circles here and it's driving me mad!! Any help would be MASSIVELY appreciated!! Thank you and I hope you understand all of that dribble!! Aled M.
March 17, 200917 yr It's the type of forwarding they are using. Ideally you want to set up the domain as a seperate hosting account and ask them to change the DNS settings of that domain to point at the correct server. There are other types of forwarding but from what I can remember it would just display www.company1.com in the address bar all the time. The only other option I could think of is to use htaccess, but I'm not even sure how/if that would work.
May 14, 200917 yr Might have something to do with the DNS settings as well the hosting for that domain. I'd check with the hosting comapny
July 2, 200917 yr It's the type of forwarding they are using. Ideally you want to set up the domain as a seperate hosting account and ask them to change the DNS settings of that domain to point at the correct server. There are other types of forwarding but from what I can remember it would just display www.company1.com in the address bar all the time. The only other option I could think of is to use htaccess, but I'm not even sure how/if that would work. I agree with the above. (except the last line) .htaccess wont solve the problem. Except when you cloak the URL. www.company1.com the address in the address bar changes to the sub-domain address company1.mycompany.com SOLVED www.company1.com/contact.html it does NOT WORK WONT BE SOLVED The only good way to solve is to do it by the DNS (and not by a simple file redirection they have in place on the moment) kind regards, Faisj Ps. there are many ways to solve it by DNS. Anyone with experience can consult you.
Create an account or sign in to comment