| | |
trying to make two domains behave identically
![]() |
•
•
Join Date: Mar 2009
Posts: 3
Reputation:
Solved Threads: 0
http://www.texasladiesaside.org
http://www.texasladiesaside.com
Clicking on the former loads a webpage - clicking on the latter does not. My question is... why?
Per this tool, they both have the same A records - 209.189.226.66.
Also, both are valid Virtual Hosts as the following demonstrates:
So my question is... why isn't www.texasladiesaside.com showing me the same thing as www.texasladiesaside.org?
http://www.texasladiesaside.com
Clicking on the former loads a webpage - clicking on the latter does not. My question is... why?
Per this tool, they both have the same A records - 209.189.226.66.
Also, both are valid Virtual Hosts as the following demonstrates:
<?php
$fsock = fsockopen('www.texasladiesaside.org', 80);
fputs($fsock, "GET / HTTP/1.1\r\n");
fputs($fsock, "Host: www.texasladiesaside.com\r\n\r\n");
while (!feof($fsock))
{
echo fgets($fsock, 1024);
} well, there are two ways to do that - either place the site in the default root virtual host (bad idea) or set up two different v-hosts for the two domains, pointing to the same place in the filesystem
oh, another way is to use mod_rewrite to redirect one of the domains to the other
oh, another way is to use mod_rewrite to redirect one of the domains to the other
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)
BA BizMg, MCSE, DCSE, Linux+, Network+
BA BizMg, MCSE, DCSE, Linux+, Network+
![]() |
Other Threads in the Domains and DNS Forum
- Previous Thread: ip address space for company
- Next Thread: TCP/IP socket programming
| Thread Tools | Search this Thread |
2010 apps brands broadband business copyright country cybersquatting dns dnsservers domain domain-name domainname domains economy flake gay google government hacker hacking icann intellectual internet ip ipv6 kaminsky legal mapping marketing measurment microsoft networking news payperclick phishing property registration rural security securityflaw size strider terrorism top10 trademark typo-squatting verisign web zone






