Forum Moderators: phranque
I'm guessing people want to access a server with different DNS's (not repointing), i.e. www.company.com and www.company.ca.
I looked at the examples, but they really seem to handle IP based issues.
[httpd.apache.org...]
Would this be valid configuration to be able to access the 'same' webserver using two different DNS entries? (Also don't want this to happen... a user types in www.company.ca and it automatically is repointed to www.company.com ... it STAYS with .ca and vice versa if they come in with .com?
Any help or link to specific documentation is appreciated!
NameVirtualHost 216.251.43.98
<VirtualHost 216.251.43.98>
DocumentRoot /www/sitedocs
ServerName www.company.com
</VirtualHost>
<VirtualHost 216.251.43.98>
DocumentRoot /www/sitedocs
ServerName www.company.ca
</VirtualHost>
I have a website and I'm trying to accociate my site with a bigger portal...
They want me to change my url from www.company.com to www.company.portal.com
but i dont wanna lose my url cause google finds me with it.
it would be the same site but been accessed by different urls.
so what do I have to do to achieve this?
Are you really ready and willing to give away your Web site? This is a really bad idea. Make sure your lawyer thoroughly examines and approves the contract before you do this, as you can otherwise easily lose your site.
Again... Run away!
Jim
Take a look at the Apache documentation and try some searches -- Writing a filter isn't something I can just do in my limited spare time.
Jim