P.Z. Low Cost CPanel Web Hosting  

Go Back   P.Z. Low Cost CPanel Web Hosting > Page-Zone Web Hosting Main Forum > General FAQ > General Questions and Comments

General Questions and Comments Post your question or grace us with your knowledge. Posting limited to registered members.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Can I point a domain off my IP, to a domain I don't own?
Old
  (#1 (permalink))
pale
Registered User
pale is on a distinguished road
 
Status: Offline
Posts: 2
Join Date: Jun 2003
Rep Power: 0
Can I point a domain off my IP, to a domain I don't own? - 06-11-2003, 05:04 PM

[ I may have misposted this in Resellers/General; I posted a while ago and didn't get a reply]

I've figured out domain, sub-domain, and parking. I've set up a few of these through the WHM without any problem.

I'm interested if I can do something similar to domain pointing, but pointing to another host which I do not own or manage. I'd like to do this at the DNS level, so I don't have to write a redirect HTML page, or use frames.

Here's the situation:

My friend has 3 domains, say "main.com", "second.com", "third.com". His hosting company allows him to use "main.com", but charges him $5 per month to park or point any other domains on top.

I figure I can do this for him, by having him change the name servers on "second.com" and "third.com" to mine (I bought name servers here :-) and I'll point them for free, or say, charge him $5/year. It'll help pay for my reseller account and save him $55/year per domain. Win, win.

So, if this is possible, let's say:

"second.com" ---> "main.com"
(basic park, but on another server, where navigating "second.com" is indistinguishable from navigating "main.com")

"third.com" ---> "main.com/friends/third/index.html"
(where the connection looks like "http://third.com/index.html", and all relative navigation in the "/friends/third/" directory structure maintains "third.com" as the domain name)


Hope that's clear. Thanks in advance for your help,

pale
   
Reply With Quote
Old
  (#2 (permalink))
pale
Registered User
pale is on a distinguished road
 
Status: Offline
Posts: 2
Join Date: Jun 2003
Rep Power: 0
06-16-2003, 04:15 PM

Well, I messed around with this myself and managed to get a domain I own to point to another IP address on another server using "Add a DNS Zone" in the WHM. However, I'm no longer able to modify or delete the DNS Zone for that domain.

I get "Access Denied, you don't seem to own [domain name]".

I'm guessing that since the IP in the db doesn't match mine, it doesn't want to let me edit it.

How do I get it back?
   
Reply With Quote
Another way
Old
  (#3 (permalink))
TechWeasel
Registered User
TechWeasel will become famous soon enough
 
TechWeasel's Avatar
 
Status: Offline
Posts: 199
Join Date: May 2003
Location: Toronto, Canada
Rep Power: 44
Another way - 06-16-2003, 06:26 PM

I have no suggestions for reclaiming the domain (it sounds like you might need someone with root access to fix it... I'd suggest putting in a helpdesk ticket)

However, I did want to suggest a way that you can do an "out of site" redirect (and be able to modify it after the fact).

Set up your friends domain under the WHM (just like you were making a new account) but instead of putting any information in the account just add the following script to your .htaccess:

Quote:
RewriteEngine on
rewriterule ^(.*)$ http://www.whateveryouwant.tld/$1 [R]
Mod Rewrite is a very powerful tool for handling redirects and lets you do many neat tricks (redirecting to subdirectories, filtering redirects based on IP...etc).

I'm assuming it's an installed module on all the servers, it's certainly on mine.

Caution Treat Mod Rewrite with respect: as it controlls site access you can inadvertently lock yourself out of your own website if you're not carefull.

I don't claim to be a master, but there's lots of good articles on google for the interested.


For those of you who have been reading the forums this week, I promise to try and cut back on my evangilizing of ".htaccess"... for at least a couple of days. Promise.
   
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making multiple domain names point to a single one brywool General Questions and Comments 1 12-10-2005 06:00 PM
multiple domain names point to same site SailFan General Questions and Comments 4 05-27-2005 10:55 AM
How do I make it so two or more domain names point to the same set of files? Jim CPanel Control Panel 0 11-11-2004 09:27 PM
Where did this domain go? Sheila General Questions and Comments 5 10-12-2003 04:18 PM
domain parking/domain pointing Duende General Questions and Comments 8 05-06-2003 05:54 PM


Live Help



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
vBulletin Skin developed by: vBStyles.com
Copyright © 2002 Page-Zone Web Hosting. All rights reserved.
Smilies provided by Crack's Smilies http://www.mysmilies.com