473,804 Members | 4,014 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Redirecting a Parked Domain while Hiding the Address

1 New Member
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/otherdirectorie sforthisdomain

I hope this is not too confusing. I've searched endlessly and yet haven't found a solution.
Jul 19 '07 #1
1 2739
Motoma
3,237 Recognized Expert Specialist
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/otherdirectorie sforthisdomain

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
1745
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 suggestions. I could really use some help. What I am trying to accomplish is the following: -grab the user bookmarked URL. -strip some of the URL from the beginning -pass what's leftover of the URL and append that to a new URL.
1
1313
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 move the images to the sub-domain any requests to the old locations will result in a 404. Is there any way to redirect all failed image requests to the new location?
0
1020
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 can recognize that it is actually forwarded to by Domain2 and redirect to a subfolder of the actual site: http://domain1.com/domain2/default.aspx? Using IE, when I type in Domain2.com and the default page appears from Domain1, the address line...
0
1000
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 with 1&1 (1and1). I have created a folder on my web space called tm and put the appropriate files in there. I have then pointed www.airbrushesonline.co.uk at the 'tm' folder. The rest
41
3254
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 resolve this issue once and for all now. The problem might be PHP related but since I only develop applications using PHP, I'm not a hundred percent sure. Therefor I've taken the liberty to crosspost to comp.lang.php and alt.www.webmaster. I...
9
2351
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 have access to a completely different set of pages. "Client" pages are in the root folder and "Admin" and "Trainer" pages each have their own subfolders. The problem is that when a user goes to the domain, I want to redirect "Admin" and...
5
1652
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 is accessed through the correct domain. If it is not accessed through the correct domain, it should redirect to the correct domain and create a cookie to always return to the correct domain. Here is an example: Someone enters the site through...
1
4926
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 HTTPS instead of just HTTP. So I have the 403.4 error covered by this redirect. My question is what if the user has SSL disabled in their browser? In Internet Explorer 7, when the page is redirected to HTTPS and they have SSL disabled they get a...
3
2061
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 second domain as complete different website, and can we purchase that second domain from other company than the first one
0
9589
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10593
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10329
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9163
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6858
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3830
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.