Web Hosting
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb HostingWeb Hosting

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 13th, 2011, 05:42 AM
sim085 sim085 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2004
Posts: 580 sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 5 h 54 m 19 sec
Reputation Power: 139
Pointing one or more domains to same server?

Hello,

I have a client who's domain and hosting is done with another "local" company. This company hosts the website on a server which does have a public IP. However I noticed that when I enter http://myclientdomain.com and then view source; the source has a frame tag which loads the website from http://localcompanydomain.com/hosting/myclientname/

Everything works fine on the website. However in my opinion this creates some problems in terms of SEO. Additionally I have some problems connecting to some social network services since these expect requests to come from http://myclientdomain.com rather then from http://localcompanydomain.com/

Therefore I was wondering; is it possible for this guy to point http://myclientdomain.com to the correct directory on his machine? rather then having it pointing to his domain?

He said he can remove the masking but that will make the site only accessible from http://localcompanydomain.com/hosting/myclientname/ which is not acceptable.

Also I cannot just drop the hosting. I did not do the agreements with this company and do not want to be seen as if trying to steal the hosting agreement (I provide hosting for my clients but do not have a physical server).

Last edited by sim085 : May 13th, 2011 at 05:44 AM.

Reply With Quote
  #2  
Old May 13th, 2011, 07:59 AM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,931 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 7 h 43 m 47 sec
Reputation Power: 7053
Quote:
Therefore I was wondering; is it possible for this guy to point http://myclientdomain.com to the correct directory on his machine? rather then having it pointing to his domain?

Yes, in fact it's practically trivial to do that. If he tells you he can't do it, he's either lying or incompetent - neither are good qualities for a web host. I highly recommend that you tell your client to demand that the host fix the server configuration or else move them to a better host. If you don't want to be seen as stealing the hosting agreement then don't host them yourself, go with a third party. Any $5/mo hosting company is going to provide better service than that.
__________________
PHP FAQ
How to program a basic, secure login system using PHP

Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #3  
Old May 13th, 2011, 08:57 AM
sim085 sim085 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2004
Posts: 580 sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 5 h 54 m 19 sec
Reputation Power: 139
Quote:
Originally Posted by E-Oreo
Yes, in fact it's practically trivial to do that.


Removed

.

Last edited by sim085 : May 13th, 2011 at 05:43 PM.

Reply With Quote
  #4  
Old May 13th, 2011, 05:41 PM
sim085 sim085 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2004
Posts: 580 sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 5 h 54 m 19 sec
Reputation Power: 139
Hello again,

I sent a quick email to my domain registrar to ask them how to point a domain to a 3rd party hosting account. They sent back and told me how to edit the IP Address in the Zone File. I went on to check some of my domains and indeed the IP Address in the Zone File is the same as the one I have in my Hosting account.

Now my question is this; The IP Address points to a machine NOT TO A DIRECTORY. When I add a hosting for a domain I also define the sub-folder where the files for that domain will be placed. For example, if I have the domain myclient.com, I create a sub-folder under root named myclient and I point myclient.com to /myclient

From the Zone File the domain is pointing the hosting machine. Therefore, who (or what or where) is the addressing to /myclient directory being made? Is this something that gets configured on the host machine? Some file or database record?

.

Last edited by sim085 : May 13th, 2011 at 05:47 PM.

Reply With Quote
  #5  
Old May 13th, 2011, 09:32 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,931 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 7 h 43 m 47 sec
Reputation Power: 7053
Mapping a domain to a directory is handled by your web server software on the web server machine.

Reply With Quote
  #6  
Old May 14th, 2011, 02:06 AM
sim085 sim085 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2004
Posts: 580 sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 5 h 54 m 19 sec
Reputation Power: 139
Quote:
Originally Posted by E-Oreo
Mapping a domain to a directory is handled by your web server software on the web server machine.


Thanks, that is important information for at this point. I'm pretty sure that this person might not know how to do this type of mapping. I think if is using IIS for hosting then such setting swould have to be configured in IIS itself. Thanks again for the info. I will search in that direction. Thanks for all the help

Reply With Quote
  #7  
Old May 16th, 2011, 06:48 AM
sim085 sim085 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2004
Posts: 580 sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level)sim085 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 5 h 54 m 19 sec
Reputation Power: 139
I found the following link. Is this what needs to be done from IIS in order to map a domain to a website?

http://jyotsna.philogy.com/2010/01/02/iis-how-to-map-a-domain-name-to-a-web-site/

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb HostingWeb Hosting > Pointing one or more domains to same server?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap