Computer Talk Discussions here pertain to mods, troubleshooting, and PC/console gaming

GoDaddy users

Thread Tools
 
Search this Thread
 
Old Mar 24, 2005 | 03:48 AM
  #1  
jacksonpt's Avatar
Thread Starter
Senior Member
 
Joined: May 2002
Posts: 2,752
Likes: 0
From: Binghamton, NY
GoDaddy users

I recently registered a second domain name. Is it possible to forward one domain name to http://MyIP/site1 and the second domain name to http://MyIP/site2? Or does each domain name have to go to a unique IP?
Reply
Old Mar 24, 2005 | 05:14 AM
  #2  
Churnd's Avatar
Registered User
 
Joined: Jan 2003
Posts: 4,087
Likes: 1
From: Hattiesburg, MS
All a domain name is doing is giving a name to an IP address on a computer somewhere. So, if I'm understanding your question right, it's not possible to give the same IP two different domain names.
Reply
Old Mar 24, 2005 | 05:19 AM
  #3  
rwmorrisonjr's Avatar
Contributing Member
 
Joined: Aug 2002
Posts: 1,991
Likes: 0
From: Home: Aurora, CO; Work: The People's Republic of Denver
Yes and yes. Yes, each domain/URL has to be unique for the global DNS records to indentify them. But you can also have them linked via a redirector/forwarder so that when you type in the new domain name, it will bounce you to the the site of your choice. How do you think hackers redirect folks from legit sites to their own sites?
Reply
Old Mar 24, 2005 | 07:37 AM
  #4  
XtremeOff-Road's Avatar
Contributing Member
 
Joined: Jun 2002
Posts: 1,079
Likes: 0
From: Peoria, AZ
As morrison stated, bottom line is you can direct two domains to one site if you wish:

For example...

http://www.weapondepot.com

http://citizensagainstmichaelcrook.com
Reply
Old Mar 24, 2005 | 07:55 AM
  #5  
PoBoy's Avatar
Contributing Member
 
Joined: Dec 2002
Posts: 1,998
Likes: 0
From: Phoenix, AZ
jackson...are you running your server from home? I think I recall you doing that...anyway check out free DNS forwarding: http://www.zoneedit.com/ Give them your server's IP address...Give Godady their DNS Server names...done deal.
Reply
Old Mar 24, 2005 | 08:00 AM
  #6  
calrockx's Avatar
Contributing Member
 
Joined: Sep 2002
Posts: 4,749
Likes: 0
From: Santa Clarita, California
couldn't you just use a simple javascript page to redirect a user of one url to another?
Reply
Old Mar 24, 2005 | 08:05 AM
  #7  
PoBoy's Avatar
Contributing Member
 
Joined: Dec 2002
Posts: 1,998
Likes: 0
From: Phoenix, AZ
But then the URL will change to the other.

I think we are confused (or at least I am)...Jackson do you want 2 URLs to show the same site without the URL name changing? Or do you have 2 URLs that you want different content but on the same server?
Reply
Old Mar 24, 2005 | 08:24 AM
  #8  
jacksonpt's Avatar
Thread Starter
Senior Member
 
Joined: May 2002
Posts: 2,752
Likes: 0
From: Binghamton, NY
OK... here's what I want to do...

I have 2 domain names - www.trailaddict.com and www.cycle-cny.com. I have sites setup for both. I want a user to be able to type in either domain name into a browser and be taken to the appropriate site, with the appropriate name in the URL bar.

I've been doing some research and I can do it with PHP, but it's not real smooth. I can also use Apache's namebased serving to do it, however when I do that, I lose the ability to use the computer's IP address to access the root web directory (which I also ned to be able to do).


:::EDIT:::
updating this post after futher research...

I've got 2 domain names, 1 server and 2 websites. Both sites live on the one server, one site is setup for each domain name.

I setup name based virtual hosts on my apache server. When I try to access the domain names, everything works great. However, when I try to acess the server via it's IP, it doesn't work.

I read in the apache docs that this is normal. So I setup a vhost for the IP address... same exact way I did it for the domain names, but rather than using a domain name, I used the IP. That didn't seem to work.

Is it possible to still access the server via IP address (from a browser) while using name based vhosts?

Last edited by jacksonpt; Mar 24, 2005 at 09:35 AM.
Reply
Old Mar 24, 2005 | 11:03 PM
  #9  
DrBeau's Avatar
Contributing Member
 
Joined: Dec 2004
Posts: 1,248
Likes: 0
From: CA
Me and my roomate currently have a server with 6-7 domain names going to it, most with their own sites. We are using IIS on Win 2K3. If I type the IP into a browser it goes to whatever the default site is in IIS. This makes me think it's an Apache thing. Best of luck.
Reply
Old Mar 25, 2005 | 10:07 AM
  #10  
blink's Avatar
Registered User
 
Joined: Oct 2003
Posts: 275
Likes: 0
From: Scottsdale, AZ
hosting

you jsut have to setup apache and used virtual hosting liek you are currently doing, and also setup ip-based hosting.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
kawazx636
The Classifieds GraveYard
34
Oct 6, 2021 03:03 PM
Redeth005
The Fab Shop
171
Jun 28, 2018 08:16 PM
crashburnoveride
Misc Stuff (Vehicle Related)
3
May 28, 2016 09:08 AM
live4soccer7
84-85 Trucks & 4Runners
3
May 11, 2016 06:52 PM
dropzone
The Classifieds GraveYard
0
Sep 13, 2015 11:18 AM




All times are GMT -8. The time now is 12:33 AM.