subdomain in address bar

subdomain in address bar

Posted by: rgx
Posted on: 2005-01-13 23:54:00

With the web admin panel, I set a subdomain to redirect but this changes the url in the browser. With my previous host I had a subdomain setup so the subdomain stayed in the browser and all the links thus kept the supdomain. (http://sub.domain.com/folder/page.html) How can I configure this here? I was guessing I might need to edit the .htaccess but I don't know where to begin.

Re: subdomain in address bar

Posted by: Atropos7
Posted on: 2005-01-14 00:06:00

Go to Domains -> Web
and Edit the subdomain.

You want to switch the web service to

o Display another site at your domain (using a frame; browser URL remains the same).

or

o A Mirrored Domain (a domain that mirrors another site's content / browser URL remains the same).

cool Perl / MySQL / HTML+CSS

Re: subdomain in address bar

Posted by: TorbenGB
Posted on: 2005-01-14 00:10:00

If you make a Redirect, then you get this behaviour.
You could change it to Mirror - then the URL stays the same.
Go to your Manage Domains tab and click Edit for the subdomain, then read the explanations to each choice. This should make it clear to you.

TorbenGB

Re: subdomain in address bar

Posted by: rgx
Posted on: 2005-01-14 11:06:00

I've tried all of these options and that's not what I want. I would just like the subdomain to point to a folder on my domain with no redirecting. My last host did this automatically. So intead of going http://domain.com/folder/page.html I could use http://sub.domain.com/page.html to get to the same place.

Tags: subdomainsub domainbrowseraddress barhttphtaccessredirectweb adminurlhtml