domain

Can I improve this regex check for valid domain names?

So, I have been working on this domain name regular expression. So far, it seems to pick up domain names with SLDs and TLDs (with the optional ccTLD), but there is duplication of the TLD listing. Can this be refactored any further? params[:domain_name].downcase.strip.match(/^[a-z0-9\-]{2,63} \.((a[cdefgilmnoqrstuwxz]|aero|arpa)|(b[abdef...

Getting setting cookies on different domains, with javascript or other

Haven't been able to find anything particular to this situation online so here i go... I need to set/get the cookies stored at "first.com" while browsing "second.com", I have full access of "first.com" but i only have javascript access (can manipulate the DOM as i want) on "second.com". My first approach was to create an iframe on secon...

How do you negotiate a domain model with your domain experts?

Suppose you're working with a customer's domain experts. You realize (or at least have a reasonable belief) that your model of their problem is clearer than theirs. How do you convince them that they should go your way. In my case, it is fairly clear what the main thrust of the requirements are (e.g. a trading system for a product). Bas...

Is there any library to query the whois database for domains information?

Hi, I'd like to write my own script in C# to test my own dictionary of too-many-to-do-it-manually words against whois database of world wide web domains. Is there any free library / script that would allow my application to test the words against free domains and get the results quite quick? There are Internet applications like whoix...

How can I take control of my domain that is registered to me but controlled by web developers?

Hello, I've got a problem where I have a .co.uk domain of which I am the registrant but my web developers control the domain via easyspace.com. I'm not using the web developers anymore and it ended on bad terms so I would like to change my domain to another registrar without getting them involved. Does anyone know how I can do this? Th...

Domain Entity Property Names

For domain entities, should property names be prefaced with the entity name? I.E. my class Warehouse has a property WarehouseNumber. Should that property be named WarehouseNumber or simply Number? Thoughts? ...

Grails Domain Class without ID field or with partially NULL composite field

Per an answer to a previous question (answer here: http://stackoverflow.com/questions/425294/sql-database-views-in-grails#427691), I have tried to use a domain class to represent a view in my database. This works wonderfully in most cases, however: I have a view with no single unique key. Let's say the underlying tables look like this: ...

How to map a domain to another domain's subfolder?

I have a very fast web server (IIS6, ASP.NET) that I want to use for several sites. Now, I already have a domain that maps directly to the IP address of the server, but how can I get another domain to map to a subfolder (i.e., a separate ASP.NET application) on that same computer? Is it theoretically possible? (note: only port 80 is open...

Domain Driven Design question

Hi, I would like to ask for a reccomended solution for this: We have a list of Competitions. Each competition has defined fee that a participatior has to pay We have Participators I have to know has a Participator that is on a Competition paid the fee or not. I am thinking about 2 solutions and the thing is it has to be the most a...

Get Domain LogonServer in C#

In a command prompt I am able to get the domain logon server by typing: echo %logonserver% How can I get this same result in C#? ...

Is website content partitioning worth while?

In order to allow for multiple policies regarding content... security, cookies, sessions, etc, I'm considering moving some content from my sites to their own domains and was wondering what kinds of dividends it will pay off (If any). I understand cookies are domain specific and are sent on every request (even for images) so if they gro...

Can't add domain users to Reporting Services 2008

I have SSRS 2008 setup on the database server. The server is part of the domain. Reporting Services is running under NetworkService. When I try to add a domain user using the web interface (Site Settings --> Security --> New Role Assignment), the page posts back but the user is not in the list. The server's log file contains the foll...

Getting back control of a domain taken by the "Domain Registry of America" scam

One of my clients ended up getting sucked into the "Domain Registry of America" scam letters that they send out and has now effectively lost the domain to them. My clients name is still the registrant, admin and technical contact but all the other details - address, phone, email - are for the DRoA. I expect we will not be able to get th...

Possible to prevent our website from running inside another domain's frameset or IFrame?

We've been having an problem recently where other sites are running our e-commerce site inside a frameset where our site (with the offenders affiliate id tacked on) is the only content in a single full width frame. So essentially it looks and feels like our site with their URL at the top. We can cut off their affiliate id, which would ...

Cruise Control .Net - Builds across domains

Currently our developent enviroment consists of a Dev server, a Staging server and a Production server. Our production server and staging server live on the same domain while our build server and dev server are on a different domain. Is it possible to have my build server (Cruisecontrol .Net) access the two servers that are outside its...

Polymorphic Domain Objects Based On Data Mapper

I have a basic domain object, say like Person or Campaign or Event that is represented by a single table in the database. However, I also have more complicated versions of these objects say like a PersonCampaign or PersonEvent or even CampaignEvent that could theoretically extend one of the base objects. However, for a number of reasons...

Different domains to different pages in IIS7

I have a Default Web Site and another web application (let's call it Application2) inside the Default Web Site in IIS7. I have 2 registered domain names, let's say www.example.com and www.example.net. I would like to configure things that when I open www.example.com I get Default Web Site, when I open www.example.net I get Default Web ...

Domain redirection and suspension

Hi, I have a site developed in ASP.NET and hosted on a windows server using shared windows hosting account at godaddy. I developed a replica of my website in php and hosted my php site on a free hosting service (php, linux, mysql) and its working fine. This is on a shared subdomain. Example (mysite.freehostprovider.com) Now I want to ...

Simple login for multi-domain intranet?

I have an intranet server on a Windows domain (server is Windows 2003, IIS6, NTFS permissions). It is on the domain Domain01. I have users from two domains in the same forest that access this intranet: Domain01 and Domain02 (DCs also running Windows 2003). Currently, the users are required to login by entering either: Domain01\username o...

Machine's domain name in .NET?

There gotta be an easy way to do this, I can't believe there's none. I have scanned through net and found, like, 20 different methods to find in which domain current user is, but none to get domain (or workgroup) of current machine. In unmanaged c++ this is retrieved by: WKSTA_INFO_100 *buf; NetWkstaGetInfo(NULL, 100, (LPBYTE*)buf); do...