473,396 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Redirecting a Parked Domain while Hiding the Address

Hi. I'm very new to the .htaccess and currently trying to figure this out. I'd like to redirect a parked domain to a sub domain or a folder without showing the actual address location. So far I'm only about to redirect and and it shows the exact location.

Heres an example:
http://www.parked-domain.com > http://sub-domain.main-domain.com
or
http://www.parked-domain.com > http://www.main-domain.com/folder

have the address bar appear only
http://www.parked-domain.com
or
http://www.parked-domain.com/otherdirectoriesforthisdomain

I hope this is not too confusing. I've searched endlessly and yet haven't found a solution.
Jul 19 '07 #1
1 2711
Motoma
3,237 Expert 2GB
Hi. I'm very new to the .htaccess and currently trying to figure this out. I'd like to redirect a parked domain to a sub domain or a folder without showing the actual address location. So far I'm only about to redirect and and it shows the exact location.

Heres an example:
http://www.parked-domain.com > http://sub-domain.main-domain.com
or
http://www.parked-domain.com > http://www.main-domain.com/folder

have the address bar appear only
http://www.parked-domain.com
or
http://www.parked-domain.com/otherdirectoriesforthisdomain

I hope this is not too confusing. I've searched endlessly and yet haven't found a solution.
Try taking a look at Apache's mod_rewrite tool.
Aug 1 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: slash | last post by:
Hi, I am new to JavaScript and I have been sifting through the previous posts about some specific help I need with a redirect problem. No luck there! Could someone take a look and give me some...
1
by: Keith | last post by:
I have some images on a domain (http://www.domain.com/image1.jpg for example). I want to create a sub-domain so that the images will be http://images.domain.com/image1.jpg for example. Once I...
0
by: Johnnie Norsworthy | last post by:
I have a web site Domain1.com and a secondary domain, Domain2.com that is forwarded by my registrar to Domain1.com. Using my primary home page: http://domain1.com/default.aspx is there a way I...
0
by: Carl Gilbert | last post by:
Hi I have a web application that uses System.Web.Mail to send off an email once the user has populated some text boxes. The aspx pages loads up ok on local host so I uploaded it to my web space...
41
by: amygdala | last post by:
Hello all, I have posted a similar question in comp.lang.php in the past, but haven't had any response to it then. I kinda swept the problem under the rug since then. But I would really like to...
9
by: Jonathan Wood | last post by:
I've spent days trying to come up with a solution. I'd appreciate it if anyone can help. My site requires all users to log on. There are three different roles of users, and each user type will...
5
Jacotheron
by: Jacotheron | last post by:
I have a problem again. I have a 2 sites for one of my customers. The site is English and Afrikaans. The English site is parked on the Afrikaans site. The script should check to see if the page...
1
stepterr
by: stepterr | last post by:
All, I'm working on a website that requires SSL enabled on a few pages. The pages are coded in ASP, and I currently have a redirect being called by the pages that require SSL that reloads the page as...
3
by: shubby | last post by:
Hello, I am running a website and have a domain on it, now can i purchase another domain on the same hosting plan, is this what we call parked domain, also please tell me that can we use that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.