domain

Virtualmin - Domain / Subdomain confusion

Hi, I've just purchased a new VPS and setup Virtualmin on it. I pointed my domain at the IP of the server and set up a new virtual server through Virtualmin. I uploaded a simple php script to check it was working and it seemed to be fine. I then created a subserver and also pointed test.mydomain.com to my IP, with the intension of ha...

Automated domain registration

I'm busy writing a app that automacally defines a domain on a server and defines the nameservers and registers a domain. At the moment it only registers .co.za domains which are really easy to register since you only fill in a form and send and the domain then gets registered, I do this this via a PHP script which fills in the form and t...

Multiple unique counters in a table

Hi all, I have a problem where I need to keep and increment an object number field in a table, however this number should be unique within given logical domain, not across table globally. An example would be multiple Businesses scheduling multiple Jobs; Job.Number should be unique within a business. So I basically need to make sure t...

Multidomain Environment Logon issue

Hey Fellows i am facing a problem, i am working with a multi domain environment where old domain was working and i have to migrate the old domain into the new one. the problem that the users are facing is that: Earlier in the old domain when I was prompted for my username password, the default “Connecting to …” used to be for OLDDOMAIN ...

SQL Server Service Broker -- Communicating Between Non-Domain Servers Over a VPN

Are there any good options for connecting two SQL Server 2008 instances via Service Broker if neither of those servers are in a domain, but we have full control over the logins and credentials? We're thinking of using this technology for enterprise-level data consolidation, but our servers run at client sites and are not configured as m...

How do I route by domain / subdomain in rails

I looked at subdomain-fu and it looks pretty easy to route all non-www and non-'' subdomain requests to a single controller. But I also, need to send all external domains that are CNAME'd to my domain to the same controller. I have done a lot of searching and I can't find anything. Summarized, if it is a subdomain on my domain it goes...

PHP MODx mysql Parse error? Where do I change the settings?

Hi I'm using modx on a site but somthing has gone wrong with the database. Any idea how do I can change the php to point to my database? Thanks for your help Regards Judi « MODx Parse Error » MODx encountered the following error while attempting to parse the requested resource: « PHP Parse Error » PHP error debug Error: mysql_conn...

jquery, domain, get URL

How can I get the domain name with jquery ?? ...

Why is dot needed to make a cookie available among subdomains?

We need to set the domain as .example.com to make it available for *.example.com, but why not example.com? ...

SQL Server 2005 Reporting Services - Configuring the Unattended Account - Invalid domain\alias

I'm trying set up an execution account following the steps here: http://msdn.microsoft.com/en-us/library/ms156302.aspx I follow these steps: Start the Reporting Services Configuration tool and connect to the report server instance you want to configure. On the Execution Account page, select Specify an execution account. Type the ac...

Wordpress & Vanity User URLs

Hi All, Was wondering if anyone had any smart approaches to creating dynamic vanity user urls upon user registration. My site basically uses emails as usernames. I have the regex to strip the text before the "@" symbol (e.g. "[email protected]" becomes "name") I would then like to take the "name" and create a vanity url (e.g. domain.com/na...

How can you make a php script only answer requests made from the same server?

How can I get my PHP script to only answer requests if the requesting script is on the same domain? ** Edit: The PHP file is being accessed by an ajax request and is proxy, so I don't want others directly requesting it to come up, is this possible? ...

Are Rollbacks possible with Active Directory?

I have read a few articles about how to programmatically interacting with Active Directory. One question remains though, is it possible to rollback a transaction of some sort with Active Directory? I have read that it is not possible in a context which you have several domain controllers as they seem to update each other with an update ...

How to access files on a different domain in C#

I need a way to acccess files on a fileshare from a different domain from my own? for example, I have here is an application that exists on a sever in Domain1 and this application needs to retrieve files from a server on Domain2. Any ideas... ...

Google Analytics domain data without filtering

I run a web service with many sub-sites. Example URLs of sub sites: domain.com/sub/jim domain.com/sub/jon domain.com/sub/dave etc (around 3,000 currently and growing). We currently offer basic stats reporting (page views and unique pageviews) that we can get from Google analytics (we currently process a XML file of the /sub/ drilldo...

URL to check if domain is available

I use AJAX to check Australian domain availability with this web service: http://portal.ausregistry.com.au/whois/whois_check_result.jsp?qry=[AU domain goes here] Are there equivalent services that expose availability for other TLD's? (particularly the big 3: .com, .org, .net) ...

NetServerEnum: List of servers on domain while on workgroup

Hi. I am logged in to a workgroup MSHOME and need to access a named list of server pc's on a domain "xxx.local". I have tried this: const int MAX_PREFERRED_LENGTH = -1; int SV_TYPE_WORKSTATION = 1; int SV_TYPE_SERVER = 2; IntPtr buffer = IntPtr.Zero; IntPtr tmpBuffer = IntPtr.Zero; int e...

Should the DAL be a translation layer between the relational model and the domain model?

Simple question for which I think I have an answer but I am looking for a sounding board. Should the DAL be the one translating whatever comes from the database (be it through straight SQL, stored procedures, ORM, whatever) into Domain Entities as understood by the business layer? On a separate note, should all Domain Entities be defined...

Domaintypes in c# from SQL Anywhere

I want to know domain type of scema for a select in SQL Anywhere. SQL: CREATE DOMAIN "followinteger" INTEGER NULL; CREATE TABLE "DBA"."test" ( "follow" "followinteger" NOT NULL, "test" INTEGER NULL, PRIMARY KEY ( "follow" ASC ) ); C# SACommand command = conn.CreateCommand(); command.CommandText = "SELECT * FROM USERS"; ...

Domain specific htpasswd conditions

I am using a wildcard dns system that routes all subdomains through a single web app and sets a userid based on the first part of the URL (X.domain.com where X is the username). I now want to edit my htaccess file to enable conditional httpauth using htpasswd for specific domains. e.g. if url = password.domain.com the enable httpauth. ...