Any DNS Geeks here?..

ollie_lucas1985
ollie_lucas1985 Posts: 325
edited February 2011 in The Crudcatcher
My Objective: Setup my home IIS server so it links in with my domain name.

So far I've setup an account with a domain name registrar UK2.net - We'll say its called mydomain.com..

I've successfully changed the Name Servers on UK2.net to the Zone edit name servers.

I have setup a CNAME "web.mydomain.com" pointing towards dyndns.com with my custom dynamic DNS - This all works so far..

Now what I actually want is WWW.mydomain.com pointing to my dyndns.com account.. I take it this is not possible?

Isn't "www" just a cname of mydomain.com?

Whenever I put www as a CNAME and put the correct host on dyndns as I did above, when I go to www.mydomain.com on the web its just takes me to my holding page with UK2.net which I really don't want!

Am I missing something?.. so far I've paid like £5 and want to keep it that way!

Any help muchio appreciated!

Ollie

Comments

  • projectsome
    projectsome Posts: 4,010
    How long ago did you buy the domain etc, register it on said server? IIRC you have to wait at least 24 hours or you could just be doing it wrong....
    FARKBOOK TWATTER Happiness is my fucking mood!
  • The domain was purchased yesterday, it seems from the DNS Stuff website that the nameservers for my domain have been changed to the zonedit ones so I believe the changes have been replicated, generally it is 24 hours as you said.

    Anyone else had any experence with zoneedit.com?
  • chedabob
    chedabob Posts: 1,133
    If you've done everything correctly, give it 24 hours for it to propagate through all the name servers. I've seen domains go live in minutes on some ISPs and take a whole day to appear on others.
  • Anonymous
    Anonymous Posts: 79,666
    DynDNS has a downloadable service that updates their DNS servers with whatever your ISP changes your IP adress to (I'm guessing you aren't on a static IP).
    Have you set that up?
  • Yep I have done that, its intergrated into my cisco router..

    The web,mydomain.com works OK and talks to the IIS server correctly, im just unsure whats happening with the www one.. :(

    Would the hosting provider hold that page if its active.. e.g. they have a banner on it at the moment..

    here is the domain to which I am having problems.. www.oliverlucas.co.uk stupid shitty holding page! :(
  • Anonymous
    Anonymous Posts: 79,666
    Have you set DynDNS to accept wildcards?
    I forget the terminology, but there is an option to allow [ANYTHING].yourdomain.com.
    So if someone was to enter ILikeEatingDiseasedBeef.yourdomain.com, or www.yourdomain.com, or net.yourdomain.com, it should still work.
  • I havent set anything on dyndns - from what I read it doesnt need to.. If i was getting a error page I would be happy at this point.. but the adverts from that UK2 are annyoing me..

    I have put @ - which i believe is the domain wildcard (could be wrong) for root as a cname, ive removed this now but that didnt work either.. i may not have been as patient tho so might re-visit!..
  • whyamihere
    whyamihere Posts: 7,716
    I'm getting a domain not found error when trying to load it...
  • whyamihere wrote:
    I'm getting a domain not found error when trying to load it...

    Are you not getting the "UK2 holding page" ?..

    www.oliverlucas.co.uk

    just incase i typed it incorrectly..
  • Anonymous
    Anonymous Posts: 79,666
    I'm almost certain there's an option to allow domain wildcards. But I might be getting confused between DynDNS, and NoIP.com

    Instead of adding another Cname, can you add an A-record. It will work with both then.
  • Ok i done a * with a cname entry pointing to my dynamic dns and anything ".oliverlucas.co.uk" works correctly.. EXCEPT www .. I think they are holding it somewhere

    I can add an A Record but my server/isp is on a dymanic ip address so it might work today, but tomorrow it will fail..

    Do you mean just as a test?
  • Anonymous
    Anonymous Posts: 79,666
    Ok i done a * with a cname entry pointing to my dynamic dns and anything ".oliverlucas.co.uk" works correctly.. EXCEPT www .. I think they are holding it somewhere

    I can add an A Record but my server/isp is on a dymanic ip address so it might work today, but tomorrow it will fail..

    Do you mean just as a test?
    no, i mean an A name that is hosted on dyndns. It should get auto updated whenever your up changes.
    They may well be blocking the www. Prefix for some reason.

    By the way, is there any reason you're hosting your site yourself?
  • Mainly becuase Im cheap and want to start learnining to code in ASP. - Hosting solutions are expensive and here I can host my own SQL enviroment and C#.

    Oh Yeehaamcgee, I already have a A name with dydns, thats were i am pointing all my CNAME's to - I didnt really want to put it on the forum but im sure anyone will be able to work it out by now.

    Thanks for you help all - Your suggestion yee fixred it for me and that was the wildcard (*) on a cname.. thanks!

    chedabob - It does appear to work now, thanks for going to all the effort of uploading a picture :)

    Ollie
  • Anonymous
    Anonymous Posts: 79,666
    The a names should point to the cname, not the other way round. A means "Alias", and its an alias to a "canonical" Cname.

    For future reference, visual studio will set up a purely local IIS server for you, so you can test things in house at no expense. You can develop on that then move the site to a live server when it's done.
  • chedabob
    chedabob Posts: 1,133
    Amazon AWS has a free tier now that is enough for hosting your own website. Not entirely sure if you can get ASP running under Linux though.
  • Anonymous
    Anonymous Posts: 79,666
    Nope. ASP is a Microsoft technology. PHP would be the Linux (& cross platform) equivalent
  • IhateDNS
    IhateDNS Posts: 380
    Pinging oliverlucas.dyndns-server.com - is it off now?

    Isit the A record map (point) hostnames to an IP address.
    I only ride 'em, I don't know what makes 'em work!
  • Yea sorry guys I turned my server off now.. Its going to be on and off for a couple of months - I would look at hosting solutions (free) but some of them have adverts everywhere and I hate that!!
  • chedabob wrote:
    . Not entirely sure if you can get ASP running under Linux though.

    Not normally no, however there is an Open Source project called MONO which I belive allows Linux servers to run asp code. http://www.mono-project.com/Main_Page
    Specialized FSR XC Expert 2010
  • Anonymous
    Anonymous Posts: 79,666
    Mono is .net for other platforms. Last time I tried it it wasn't spectacularly effective. ASP runs on Microsoft IIS servers.
  • Have you set up all the domains in IIS itself? i.e. www.whatever.com, whatever.com, test.whatever.com..

    If that's all done, then all you should need to do is point the A records in the DNS. Unless I'm misunderstanding something, which is likely as I just quickly flicked through the thread!

    UK2.net's a pain in the arse, though. They lure you into buying a domain, then charge you more for anything you want to change.
    Mainly becuase Im cheap and want to start learnining to code in ASP. - Hosting solutions are expensive and here I can host my own SQL enviroment and C#.

    Any reasons why ASP? If you want to learn it in addition to other languages, than fair do's. If you just want to learn some server side development, then I'd go down the PHP route. Everything's free, loads of open source code, frameworks, applications, etc...it's the cheapskate's code of choice, which includes the majority of web agencies.
  • Anonymous
    Anonymous Posts: 79,666
    You can get visual studio, IIS, SQL etc all for free too. I find that the documentation is better on MS side, with more defacto "this is how this works" information, whereas on the PHP side, there seems to be an abundance of "erm, maybe do it like this" kind of advice.
    Ironically, when i was struggling to get something working in PHP, all people suggested was to buy some existing code. When working on ASP, there were more people willing to help me code it myself, at no cost.
    Kind of makes you think about that ridiculous "M$" moniker the haters love so much.
  • The only code I know is Visual Basic 6.0 (a wee bit) and HTML and even then CSS is something I've never really touched! - This will be my first harcore jump into things so we see how it goes!

    Yee, whats the free version of Visual Studio you talk about?..
  • Anonymous
    Anonymous Posts: 79,666
    Visual studio express
    http://www.microsoft.com/express/Web/

    You really do seem like an ideal candidate to play around offline first.

    Oh, and what are you trying to achieve? If you just want to make a website, then you could be much better off looking at squarespace.
    Unless you want to learn all this stuff for work purposes, that is.
  • The fundamentals of programing are pretty much the same across the board. Whether it's VB, PHP, Java, C, or whatever. I wouldn't get too hung up on what you've done in the past. You'll easily pick up what you learned from one language and apply it to another.

    I only mention PHP because it's generally the language of choice for freelance developers and most of the smaller agencies. Easily accessible and loads of help (I'm not sure where yeehaamcgee's been looking! though admittedly the documentation can be vague).

    If you wanted to learn it seriously with a possible career path, the kinds of employers, I find anyway, that us asp.net, are generally the same ones that are very strict with qualifications. Big corps, etc.

    But if you just want to mess around, then fair do's. And as I say, if you learn one language, you'll easily pick up another.

    Did you get your DNS sorted?