domain

PHP - can't send email to addresses at my own domain

I have a simple php script on my domain that sends me an email: ... $toMail = "[email protected]"; //this works - I get the email at my gmail $toMail = "[email protected]"; //this doesn't - I get nothing mail($toMail, $subject, $message, $header); What setting to I change to fix this? ...

efficient way to check parked domains?

I am writing a script that checks if given domain is parked or not. so far, I have this solution: add couple of characters at the end of the url. if url redirects to another page and returns 302 http status code then it is parked domain. returns other than 302 then it is normal domain. but some norma...

Apache: Redirect dynamic subdomains to different ip's

I have a application with dynamic subdomains that should be redirected to different servers depending on a part of the subdomain. Example (anything means whateveryouwant, a dynamic name): example.com --> server1 anything.example.com --> server1 a.example.com --> server2 b.example.com --> server1 a.anything.example.com --> server2 b.any...

Avoid network login prompt

Hi all. Hope this is the right place to be asking this, so my apologies if it isn't. I have written a number of web applications which use Windows authentication to allow uer access. The only problem is that we have 2 domains at work, one called student.local and one called staff.local. All of the servers sit on the staff.local domain...

PHP - Search for Domain Name Availability

I guys. I would like to know how to build on of those Domain Name Availability search that many hosting companies have. I've looked around SO and found a Question about it, but the guy that asked it used a class for the hole job, and he didn't posted its code or referred any source. Can somebody give me a hand how to build one for a w...

How can I get a Domain Controller to give me a ClickOnce Certificate

I need to get hold of a new ClickOnce Certificate because my temporary one has expired. My applications are only used internally so I'd like to get a certificate from our Domain Controller so installation does not have a security prompt (and doesn't expire a quickly) There are a number of Questions that come close to my issue: http://st...

Resolve domain address in/for Active Directory [.net]

Is there a simple way to resolve the Active Directory path of a Domain name in Active Directory? E.g. your user account might be SITE\Username or DEPARTMENT\Username but the actual path of the domain SITE might be site.company.com or DEPARTMENT might be dep.company.com etc I'm trying to find a way of turning DEPARTMENT into DC=dep,DC=c...

Subdomains in asp.net mvc

How can I programatically create a subdomain in asp.net mvc, and what ways are there for creating a subdomain? ex: user.mysite.com or mysite.user.com ...

.htaccess mod_rewrite redirection between domains

I have two domains, cshen.ca and cshen.net, both point to the same place. I'm trying to accomplish the following with mod_rewrite: cshen.net is 301 redirected to cshen.ca www.cshen.net or www.cshen.ca are both redirected to cshen.ca the path after the domain is preserved after being redirected, for example www.cshen.net/foo/bar/ would...

Tools for finding domain names

I've built out a pet project of mine, and am now looking for a good domain name for it. Arbitrarily doing whois lookups on ideas that pop into my head seems inefficient. What tools do you use when searching for a good domain name? Some ideas to get the wheels greased : given a few letters does prefix/suffix/infix searches for availab...

Check for a domain

How can I test whether the request for an API is coming from the correct registered domain. ...

how to define if domain has more than one unique field in grails?

Hi, I have domain that has more than one unique fields like the following class Shoes{ String name; Brand brand ; Color color ; Supplier supplier ; Integer size ; BigDecimal price; } name, brand, color and supplier need to be unique ... so if there are product with same name brand color and supplier it would retu...

add a server alias to the domain's VHOST?

I have a VPS. I hosted a domain ipointing to a sub directory of the www folder. The domain works fine till the home page. The moment I start going to other pages its shows my servers [orginalname]/[subdirectory name] . I think I need to add a server alias to the domain's VHOST. Can anyone tell me how to do that?? ...

Measure the pronounceability of a word?

I'm tinkering with a domain name finder and want to favour those words which are easy to pronounce. Example: nameoic.com (bad) versus namelet.com (good). Was thinking something to do with soundex may be appropriate but it doesn't look like I can use them to produce some sort of comparative score. PHP code for the win. ...

Domain Pointing

Hi Basically I bought a domain through a (cheap!) domain company and I want this domain to point to a folder on the server. The story I originally bought www.domain.com along with hosting A few months down the line I bought www.domain2.com I want www.domain2.com to point ------> to www.domain.com/folder How do I do this? can it be ...

MSMQ on a domain controller defaults to workgroup mode, how to switch to Domain mode?

I have a Windows Server 2008 machine acting as Domain Controller for a test domain and I have installed MSMQ on this server including the "Message Queue Server", "Directory Services Integration" and "Message Queueing Triggers" features. I've also installed MSMQ onto a second machine in the domain that is running Server 2003. The insta...

PHP Getting Domain Name From Subdomain

I need to write a function to parse variables which contain domain names. It's best I explain this with an example, the variable could contain any of these things: here.example.com example.com example.org here.example.org But when passed through my function all of these must return either example.com or example.co.uk, the root domain ...

Is it possible to verify the domain that a cookie was set for using Rails integration tests?

I'm using the following technique to set a wild-card cookie for our domain: cookies['root_domain_flash_warning'] = { 'value' => 'mistakes have been made!', 'domain' => ".#{APP_DOMAIN}", 'expires' => 2.minutes.from_now } Which seems to work handily. Unfortunately I can't seem to look up anything but the value associated with the...

Two Domains on one website?

Hey guys, I'm investigating a little problem for my employer. My company runs a website under an SSL certificate for the domain www.domainone.net.nz (Yes, New Zealand) However, there's been a high-level marketing decision to change our primary domain to www.domaintwo.co.nz. So, easy, right? Buy a new SSL cert for www.domaintwo.co.nz ...

Rails - Dynamic cookie domains using Rack

I'm fairly new to Rails and Rack, but this guy had a seemingly straightforward write-up about using Rack to implement dynamic session domain middleware. The code looks good to and I've implemented it here on my local machine, but I'm still not able to transcend top level domains on a single login. Here's the middleware code: class SetC...