Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

virtual hosting issues

Status
Not open for further replies.

kenhead2002

Programmer
Jun 3, 2002
108
US
I am having problems hosting a virtual host with 2 sites on 2 namezero domains. I guess namezero sends out a frame which conflicts with the virtual host info and forces the loading of the default domain. I have recieved much help on this forum but have come to a dead end. I have payed for the 2 domains for a year and everyone that I can transfer too charges an additional transfer fee. I am not intersted in paying more for something I already own at this point. So what I am looking for is a work around or another serving option. If apache cannot serve namezero pages than what server can? IIs? Please let me know. namezero has been no help other than telling me to transfer the account to there sister hosting site my domain.com
theres gotta be a better way.
please let me know.
thanks in advance
 
I didn't see your previous threads, so I'm going to ask for some background you've probably already answered.

When you say you have two netzero domains, what exactly does that mean? That you are the registrant of two domain names for which netzero is the registrar? Or that you are using two third-level domain names like foo.netzero.com or bar.netzero.com?
 
Hi Guys,

As I have already explained to you, you cannot use Namezero to forward the pages and have the both domains working in an ideal environment.

There are work arounds as I explained but these are bad ways to go about it.

No, IIS will not work with this set-up either, no server that you run will.

You need to get rid of the frames and use a simple DNS forwarding service.

Hope this helps Wullie

 
Hi mate,

The set-up is that he registered 2 domains and both are using framed forwarding to his IP address.

The problem with this is that no matter what domain is called, the frame is directed to the IP address and not a domain name so Apache automatically serves the default domain.

Hope this helps Wullie

 
As much as I appreciate your help wullie I am trying to get a second opinion thats why I started a new thread seperate from what we had already talked about. I have recieved various opinions about the issue in this and other forums and am trying to find some solid advice before I end up paying for a transfer to another dns server. And yes they do charge for a transfer. So I have heard your arguments and as you may be right I would just like to collect some more info on the subject before i make a final decision. Thanks for your help but there is no reason to step on my thread to prove you are right.
 
Hi mate,

Thats fair enough that you want another opinion but you did not mention that anywhere in your post.

I guess namezero sends out a frame which conflicts with the virtual host info and forces the loading of the default domain.

You already have 2 opinions on this and I can tell you for a fact that this is 100% accurate information.

You could forward to a different port, you could use another forwarding service as I mentioned before but these are an amateur way of doing it.

Thanks for your help but there is no reason to step on my thread to prove you are right.

Once again, you asked for help, nowhere did it say that you wanted another opinion. If I make a mistake in a post, rest assured that someone else will pick up on it and correct me. I have no problem with not helping you if you take this attitude. Wullie

 
Let me give you both two opinions:

wullie:
Even if you are right, if this were a court of law, someone by now would likely have yelled, "Objection, your Honor! Counsel is badgering the witness!"


kenhead2002:
wullie is right. If netzero provides access through their web interface by IP address alone, you can't do what you want.

The only way for a web server to differentiate between two web sites on the same IP address is either:
a) the browser's connecting to the server IP address after resolving the name and handing that name to the server in the form of the HTTP v 1.1 header "Host:"
b) the sites are on different ports.



But I still have not had the question answered. Are we talking about real 2nd-level domain names here? Or are we talking about some kind of 3rd+-level domain name down below netzero.com?



 
first off sleipnir214 the domain site is namezero I have no association with netzero whatsoever but you make very valid points in agreeing with wullie.

2nd, I meant no disrespect to you wullie. I am very frustrated with all this now and that is mostly the fault of namezero not you.It is namezero that is going to recharge for a transfer and I in no way should have takin this out on you. You have been very helpfull in diagnosing my issue. The thing is I was hoping you were mistakin and there was a better way out but now I see theres not. I hope you will continue to help me in getting these 2 sites up as I do continue to need your help. As for not requesting asecond opinion I am accustomed to keepeing topics with one person in one thread. I have seen people bounced for posting similar questions in the same group more than once. So I was surprised to see you posyt in my new threads. Again don't take my stupidity for unappreciativeness (if thats a word)
I hope to get your help in transfering my domains becase the documents in namezero and dns2go are basically terrible.
alright then thanks again
 
I want to be perfectly frank here. I don't give the south end of a north-bound rat how frustrated anybody is.

I want to understand the problem well enough to decide whether I agree or disagree with wullie's assessment.

ken, would you be adverse to announcing in this thread the two domain names in question? I'd like to do a little digging on my own.
 
hey sleipnir214 The 2 domain names which are both down now for reason are and hleonegraphics.com The names are from namezero which according to wullie is imposible to host a virtual host for the 2 primary domains. If you read in a couple of threads back you can find all of the back history of wullies assesment. I am very open to hearing your assesment as wullies makes me sad and costs me more money. I just checked the sites are up. the hleone site is in the default virtual host position now so you should be able to grab all the info for the 2 sites. There are 2 completly different sites to be hosted . keep in mind that the virtual host seems to be set up right and the domain names are functioning properly.It seems that namezero's domain names generate a frame that links to the IP instead of the domain name making it impossible to get a virtual host to function properly. Let me know if I can supply you with any further info.
thanks in advance!
 
Its so easy to make an own PatRedirector. You know, namezero generates a frame
with your pages. A few of other redirection services do the same.

For that, you can use the $HTTP_REFERER. All you have to do now is to replace
the domain name. Now, you've a path extension. To redirect to the wished page,
use a script similar like the following:

$path = $HTTP_REFERER
$path = str_replace ("header ("Location:
That's all. Example: You Enter " The
Program will now extraxt the "/this/is/the/path". Then, it redirects to
"
Please note: This only works with Redirectors, that redirect wildcarded path,
f.e. NameZero.

could something like this work?
 
Just to give a third opinion, wullie is absolutely right.
I myself used Namezero for a while, for two domains. The easiest way of getting your sites to work, is to make Namezero link to and remove all your VirtualHost info. But, the best way would be moving to a different registrar. And about that script, in your case, I don't think it would work. //Daniel
 
You're riding an old nag. No matter what you do to it, it will never win the Kentucky Derby.

I understand there is expense involved. But if you keep trying to kludge it to make it work, it'll never be as reliable as you want.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top