View previous topic :: View next topic |
Author |
Message |
stuntedheight -
Joined: 08 Nov 2003 Posts: 42
|
Posted: Fri Jun 11, 2004 1:17 am Post subject: Cant get referrer information |
|
|
For some strange reason, I cannot get any referrer information with PHP. I dont know if Im doing something weird or what, but it just wont come up. Any ideas?
I really need this to work for muli-domains _________________ http://www.200mg.net |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri Jun 11, 2004 1:24 am Post subject: |
|
|
Can you give us an example of what you're doing? _________________ Bienvenidos! |
|
Back to top |
|
|
stuntedheight -
Joined: 08 Nov 2003 Posts: 42
|
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri Jun 11, 2004 3:47 am Post subject: |
|
|
Oh, that script.
Have you tried TRUSTpunk's GUI version? http://multiple-sites.tk _________________ Bienvenidos! |
|
Back to top |
|
|
stuntedheight -
Joined: 08 Nov 2003 Posts: 42
|
Posted: Fri Jun 11, 2004 4:02 am Post subject: |
|
|
I am using TRUSTpunk's script for this. TRUSTpunk and I also registered our domains from the same people. Hence why Im kinda confused. _________________ http://www.200mg.net |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri Jun 11, 2004 4:04 am Post subject: |
|
|
You're using a Dot TK to redirect? Many problems happen with Dot TK addresses. _________________ Bienvenidos! |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Jun 11, 2004 4:05 am Post subject: |
|
|
Ok , did you create an A pointing for your
websites that will be forwarded using the
PHP script , you need to do that.
Edit: Nope he's not , my real Powered by main
website is about my favorite band The Offspring
http://www.offspringvideos.com |
|
Back to top |
|
|
stuntedheight -
Joined: 08 Nov 2003 Posts: 42
|
Posted: Fri Jun 11, 2004 4:08 pm Post subject: |
|
|
Ohhhhh, ooookkkk.
So I make another enrty under IP pointing,
which should bring [whatever].200mg.net to
my ip address, which is where the script kicks
in.
But I still have my main problem. I still cant
get the referrer info. _________________ http://www.200mg.net |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri Jun 11, 2004 10:01 pm Post subject: |
|
|
stuntedheight wrote: | So I make another enrty under IP pointing,
which should bring [whatever].200mg.net to my ip address, which is where the script kicks in. |
Correct.
Why do you specifically say that you can't get the referrer information? _________________ Bienvenidos! |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Jun 11, 2004 10:02 pm Post subject: |
|
|
Create a Cname Poiting like you.your-site.com
and then it should work , thats all I can tell you. |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri Jun 11, 2004 10:08 pm Post subject: |
|
|
Quote: | What is an Alias (CNAME) record?
DO NOT USE ANY CNAMES UNLESS YOU UNDERSTAND THIS PERFECTLY.
You must be very careful when using CNAMEs! Please read this description carefully, as most people do not realize what CNAMEs actually do!
A CNAME is not the simple "deliver this A record instead of that one" mechanism that they at first appear to be when most people are first introduced to the concept. In fact, CNAMEs are intended to redirect all DNS based traffic for one domain to another. For this reason, it is a violation of the DNS protocol to have a CNAME and any other DNS record for the same domain name.
Here's why. It may seem a bit odd at first that if you have a CNAME redirecting "here.com" to "there.com", then that means you can't have a Mail Server (MX) record defined for "here.com" -- since that would be another DNS record for the same domain name "here.com" which is a violation. This is, in fact, the truth, and is also easily accounted for.
When an e-mail is sent to "root@here.com", the e-mail client requests the MX record for "here.com", and gets the CNAME instead. The e-mail client follows the CNAME to "there.com", and asks the DNS server at "there.com" for the MX record for "there.com"! The e-mail for "root@here.com" is then delivered to the mail server for "there.com", and that server had better be set up to handle e-mail for "here.com" or else that e-mail is going to get returned to sender!
It gets worse. Not all email clients understand this behavior of the DNS, so even if you set it up correctly, your email may get returned anyway! For this reason, if you set up a CNAME for the root of your domain, or if you set up a wildcard CNAME, you may not have any inappropriate MX records defined, and you will not receive technical support for e-mail related problems.
In addition, if your mail server is called "mail.anywhere.com", then you MUST NOT use a CNAME to define its IP address -- you MUST use an A record. Mail clients that send e-mail to "info@anywhere.com" will look for the MX record of "anywhere.com". They will discover that the mail server is called "mail.anywhere.com", and look for an A record. If a CNAME record is returned instead, the mail client will very likely not understand it, and return the e-mail to sender! |
I think an A Record would be a better idea... _________________ Bienvenidos! |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Jun 11, 2004 10:15 pm Post subject: |
|
|
With an A record , you can only create one
on 123cheapdomains , I am allowed to create
sub domains from cnames and they point just
like real A records so you can't tell me thats a
violation , because I e-mailed the people. |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri Jun 11, 2004 10:35 pm Post subject: |
|
|
Why can't you just change the name servers and use ZoneEdit? _________________ Bienvenidos! |
|
Back to top |
|
|
stuntedheight -
Joined: 08 Nov 2003 Posts: 42
|
Posted: Sat Jun 12, 2004 11:50 pm Post subject: |
|
|
Thanks guys, I got it to work. _________________ http://www.200mg.net |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sun Jun 13, 2004 1:26 am Post subject: |
|
|
Because I think that ZoneEdit uses only
www.my-site.com and not my-site.com |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sun Jun 13, 2004 4:08 am Post subject: |
|
|
ZoneEdit uses both. It makes a root DNS record, and automatically makes a www with it. You can then begin to make as many subdomains as you want after that. _________________ Bienvenidos! |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sun Jun 13, 2004 7:30 am Post subject: |
|
|
Im convinced , how do I set it up , I tried last time on
my own and it never propagated after 3 days , help !
If possible , can you send a screenshot ? |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sun Jun 13, 2004 7:44 am Post subject: |
|
|
Here is what it should look like:
Now you also must have your name servers associated with your domain name:
Go into the control panel that your domain registrar gives you and change them to the ones ZoneEdit gives you. _________________ Bienvenidos! |
|
Back to top |
|
|
|