/    Sign up×
Community /Pin to ProfileBookmark

redirect domain name

hi,
Im having a small problem and i cant seem to figure it out.

I have bought a new domain named aieseckolkata.org. I want to send all users coming here to the page [url]http://www.xyz.com/websites/files/[/url].

How do i do this? Is this possible?

to post a comment
Web Hosting

10 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyJan 22.2007 — Probably best using a [url=http://www.webdeveloper.com/forum/showthread.php?t=133969]htaccess rewright[/url].
Copy linkTweet thisAlerts:
@mridang_agarwalauthorJan 23.2007 — Im pretty new to this whole thing. Where do i put this htaccess and from where do i do this? All i have access to is my domain control panel.
Copy linkTweet thisAlerts:
@p_leaJan 24.2007 — You have a few options but here are some of the quickest and some will say dirty way.

htaccess
<i>
</i>create a text file called [b].htaccess[/b] in your top directory containing the follow

Redirect 301 / http://www.example.com/


OR

via metadata

(I would advise against redirecting this way, but works)
<i>
</i>In a index.htm file put this in the top section to redirect
&lt;meta http-equiv="refresh" content="10; url=http://example.com/"&gt;
Copy linkTweet thisAlerts:
@mridang_agarwalauthorJan 25.2007 — uh oh! big problem. i dont have access to the root directory. All i have access is to the /files directory. What do i do now?
Copy linkTweet thisAlerts:
@p_leaJan 25.2007 — No problem

if /files is [b]your[/b] root put the .htacces there.

basically .htaccess should affect all subdirectories

Normally on shared servers you have access to /home/domains/public_html folder so thats where you put the htaccess file. In your case it looks like its going to be the /files folder.
Copy linkTweet thisAlerts:
@zinwayFeb 01.2007 — You can do this via your cpanel account. Login to your cpanel account and press the redirect function. To be honest, i don't suggest this because this may cause fraud page rank for your new site.
Copy linkTweet thisAlerts:
@mergemediaFeb 01.2007 — fraud page rank? LOL. What the hell is that? Did you just pull that out of your butt?

A 301 redirect is the only thing you can safely do. If you put up a 'parked' page on the domains, you risk being penalized for having 'doorway' pages. I personally have hundreds of domain names, and instead of parking them all, I do a 301 redirect with php header to my main site. I know people with THOUSANDS of domain names whom do this without penalty.

According to google webmaster guidelines, which I consider more of an authority on this topic than this forum thread, that's what you should do. I suggest reading it.

here's an example of how to use php header to do a clean 301. Place this at the VERY beginning of your file.


<?

header("HTTP/1.1 301 Moved Permanently");

header("Location: http://www.yourmainsite.tld/");

exit();

?>
[/quote]
Copy linkTweet thisAlerts:
@spiritedoneFeb 10.2007 — i think the person is saying that they bought a domain and do not have a webhost that will host it... (aka free webhosting with a folder or with a subdomain) and their domain registrar does not offer DNS to forward the domain....

if this is the case, try http://www.zoneedit.org that should take care of the problem.
Copy linkTweet thisAlerts:
@sessoFeb 16.2007 — i think the person is saying that they bought a domain and do not have a webhost that will host it... (aka free webhosting with a folder or with a subdomain) and their domain registrar does not offer DNS to forward the domain....

if this is the case, try http://www.zoneedit.org that should take care of the problem.[/QUOTE]


domain forwarding is the easiest way to go but some comanies charge for it we do not.
Copy linkTweet thisAlerts:
@sessoFeb 16.2007 — just do domain forwarding. but some do it for free.
×

Success!

Help @mridang_agarwal spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...