|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have purchased a "cheapo" domain name (for the purpose of selling my home)
from a popular seach engine site, but the downfall is that unless I display an ad, I have to show the redirect IP address. i.e www.mynew-domainname.com points to my server IP and it is now displayed while users are surfing my site. My question is: Is there a way around this, e.g. by specifying the server name in my httpd.conf and/or specifying a new DNS server that is running on my server. I have some control over A record, C name, and primary and secondary nameservers. Can I create links on my website to www.mynew-domainname.com/somedir without it linking back to the homepage due to the redirection limitation. I am root user on my server, using comcast as ISP OS sol 8, and apache 1.39(I believe). Thanks MikeD |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
newsreader <cc0101172@minix.midltn01.nj.comcast.net> wrote:
> I have purchased a "cheapo" domain name (for the purpose of selling my home) > from a popular seach engine site, but the downfall is that unless I display > an ad, I have to show the redirect IP address. i.e www.mynew-domainname.com > points to my server IP and it is now displayed while users are surfing my > site. Couldn't you just tell your domain name? Otherwise it's not really clear what you've got. -- andrei |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
I chose not to publish my domain name as I am monitering hits to my site to
see how much interest my house sale is generating. lets just say I bought www.mydname.com and yahoo forwards this to http://69.7.239.163/housesale yahoo gives me control over the following: A Name mydname.com A Name www.mydname.com CNAME *.mydname.com CNAME mail.mydname.com I can add records and I am allowed to specify two nameservers, currently defaulting to yns1.yahoo.com and yns2.yahoo.com For example, when users click www.mydname.com yahoo forwards them to, lets say, http://69.7.239.163/housesale. They have the IP address in the url toolbar of their browser. I would like to stop this. I wondered if modifying my httpd.conf to specify domainname as www.mydname.com and maybe some virtual host trickery in addition to setting up a dns server on my solaris box 69.7.239.163 would be the way to go. Is this possible? Can I avoid showing my IP address, it just doesn't look professional. Yahoo wants me to display their ad to do this. I thought there must be some way around this. I hope this clarifies my problem. Thanks Mike D "Andrei Ivanov" <iva@racoon.riga.lv> wrote in message news:3fffheF77sqrU1@individual.net... > newsreader <cc0101172@minix.midltn01.nj.comcast.net> wrote: >> I have purchased a "cheapo" domain name (for the purpose of selling my >> home) >> from a popular seach engine site, but the downfall is that unless I >> display >> an ad, I have to show the redirect IP address. i.e >> www.mynew-domainname.com >> points to my server IP and it is now displayed while users are surfing my >> site. > > Couldn't you just tell your domain name? Otherwise it's not > really clear what you've got. > > -- > andrei |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Mon, 23 May 2005 20:01:58 -0500,
newsreader <cc0101172@minix.midltn01.nj.comcast.net> posted: > I have purchased a "cheapo" domain name (for the purpose of selling my home) > from a popular seach engine site, but the downfall is that unless I display > an ad, I have to show the redirect IP address. i.e www.mynew-domainname.com > points to my server IP and it is now displayed while users are surfing my > site. For something as transient as selling your own house, why not spend a tiny bit extra for a better service, since you won't have to be shelling out for it for years and years? There are a multitude of very cheap services that will do what you want. We're only talking a matter of a few dollars, to do it right, not hundreds. > My question is: Is there a way around this, e.g. by specifying the server > name in my httpd.conf and/or specifying a new DNS server that is running on > my server. It isn't going to you unless your DNS record points to the IP in use, which it sounds like it isn't, because you're using a redirect. Messing with frames can hide your IP from casual observers, but do you more harm than good in various other ways (search for "frames are evil" to save me typing them all in here). -- If you insist on e-mailing me, use the reply-to address (it's real but temporary). But please reply to the group, like you're supposed to. This message was sent without a virus, please delete some files yourself. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Mike Dundas <mdundas@nospamthanks.comcast.net> wrote:
> lets just say I bought www.mydname.com and yahoo forwards this to > http://69.7.239.163/housesale > > yahoo gives me control over the following: > A Name mydname.com > A Name www.mydname.com Both A-records, for "mydname.com" and "www.mydname.com", should point to the same ip address, 69.7.239.163. > CNAME *.mydname.com Perhaps you don't need this (above). > modifying my httpd.conf to specify domainname as www.mydname.com and maybe > some virtual host trickery in addition to setting up a dns server on my > solaris box 69.7.239.163 would be the way to go. Is this possible? If you're using Apache, then in its config file you'll have something like this <VirtualHost 69.7.239.163:80> ServerName www.mydname.com ServerAlias mydname.com ... </VirtualHost> As a result, whenever web user will enter either http://mydname.com/, or http://www.mydname.com/, he'll be directed to Apache daemon running at 69.7.239.163, and this daemon will have enough information to serve the same content for both 2nd and 3rd level domain. -- andrei |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Mike Dundas <mdundas@nospamthanks.comcast.net> wrote:
>>> www.mydname.com. 20S IN CNAME premium5.geo.yahoo.akadns.net. >>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.46 >>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.47 >>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.44 >>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.45 > > I then tried switching ServerName to mydname.com and alias to > www.mydname.com but this didn't work either. You've mentioned that you have control over your DNS records. And I suggested that "both A-records, for "mydname.com" and "www.mydname.com", should point to the same ip address, 69.7.239.163". Right now the "mydname.com" domain name resolves to four IP addresses. The "www.mydname.com" domain name also points to the same IPs (premium5.geo.yahoo.akadns.net). Instead, both should point to IP address of your own web server, 69.7.239.163. Dig's output should report something like this: mydname.com. 30m IN A 69.7.239.163 www.mydname.com. 30m IN A 69.7.239.163 Or this: mydname.com. 30m IN A 69.7.239.163 www.mydname.com. 30m IN CNAME mydname.com. Can you do that? -- andrei |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Andrei Ivanov <iva@racoon.riga.lv> wrote:
> Mike Dundas <mdundas@nospamthanks.comcast.net> wrote: >>>> www.mydname.com. 20S IN CNAME premium5.geo.yahoo.akadns.net. >>>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.46 >>>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.47 >>>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.44 >>>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.45 >> >> I then tried switching ServerName to mydname.com and alias to >> www.mydname.com but this didn't work either. > > You've mentioned that you have control over your DNS records. > And I suggested that "both A-records, for "mydname.com" and > "www.mydname.com", should point to the same ip address, > 69.7.239.163". > > Right now the "mydname.com" domain name resolves to four > IP addresses. The "www.mydname.com" domain name also points > to the same IPs (premium5.geo.yahoo.akadns.net). Instead, both > should point to IP address of your own web server, 69.7.239.163. > > Dig's output should report something like this: > > mydname.com. 30m IN A 69.7.239.163 > www.mydname.com. 30m IN A 69.7.239.163 > > Or this: > > mydname.com. 30m IN A 69.7.239.163 > www.mydname.com. 30m IN CNAME mydname.com. > > Can you do that? > Andrei I changed the A Record for www.mydname.com and mydname to point to my IP but then yahoo somehow links the dominnames to a default homepage which is basically a template on yahoo with rigid structure. I really dont have much control over it and cannot embed html in the template. If I set the "domain forward" to my ipaddress it goes to my site. As I said I had it working for mydname.com (for a while at least) but adding www to the domainname just sends me to the IP address and shows doc root. should I have to add entries to Listen and BindAddress etc or just the Virtual hosts directives? I do have control over the Nameservers. Are these the authoritative servers? If I were to set up DNS or Bind on my server is this an option, or is this a huge task! Thanks again, Mike D |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
On Fri, 27 May 2005, newsreader <cc0101172@minix.midltn01.nj.comcast.net>
wrote: > Andrei Ivanov <iva@racoon.riga.lv> wrote: >> Mike Dundas <mdundas@nospamthanks.comcast.net> wrote: >>>>> www.mydname.com. 20S IN CNAME premium5.geo.yahoo.akadns.net. >>>>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.46 >>>>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.47 >>>>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.44 >>>>> premium5.geo.yahoo.akadns.net. 1m16s IN A 68.142.234.45 >>> >>> I then tried switching ServerName to mydname.com and alias to >>> www.mydname.com but this didn't work either. >> >> You've mentioned that you have control over your DNS records. >> And I suggested that "both A-records, for "mydname.com" and >> "www.mydname.com", should point to the same ip address, >> 69.7.239.163". >> >> Right now the "mydname.com" domain name resolves to four >> IP addresses. The "www.mydname.com" domain name also points >> to the same IPs (premium5.geo.yahoo.akadns.net). Instead, both >> should point to IP address of your own web server, 69.7.239.163. >> >> Dig's output should report something like this: >> >> mydname.com. 30m IN A 69.7.239.163 >> www.mydname.com. 30m IN A 69.7.239.163 >> >> Or this: >> >> mydname.com. 30m IN A 69.7.239.163 >> www.mydname.com. 30m IN CNAME mydname.com. >> >> Can you do that? >> > Andrei > > I changed the A Record for www.mydname.com and mydname to point to > my IP but then yahoo somehow links the dominnames to a default homepage > which is basically a template on yahoo with rigid structure. I really dont > have much control over it and cannot embed html in the template. > > If I set the "domain forward" to my ipaddress it goes to my site. As I > said I had it working for mydname.com (for a while at least) but adding > www to the domainname just sends me to the IP address and shows doc root. > > should I have to add entries to Listen and BindAddress etc or just the > Virtual hosts directives? > > I do have control over the Nameservers. Are these the authoritative servers? > If I were to set up DNS or Bind on my server is this an option, or is this a > huge task! What you fail to grasp is that you are using a redirection or forwarding service, so they determine what shows in the first part of the URL bar. Nothing you do in apache is going to change that until you do away with the redirection or forwarding altogether, and have names resolve in "public" DNS directly to the public IP of your server (your comcast connection?). Until you can get host or nslookup or dig to resolve your names to the public IP of "your" server, any attempt to reconfigure your apache to show your domain name will be futile. For now, the names apparently resolve to the redirection or forwarder service that is not under your control. |
|
![]() |
| Outils de la discussion | |
|
|