PDA

View Full Version : VirtualHost


turbov21
07-05-2007, 07:42 PM
A few days ago, I successfully pointed a domain of mime (gotpinkhair.com) to my VPS. The domain still doesn't show up in my Plesk control panel, but it will resolve, so I'm happy. Today, I signed up for a domain (brrdd.com) through GoDaddy; I want to leave GoDaddy as the DNS for the service, but I want the domain to come to my VPS account. This works, because gotpinkhair.com and brrdd.com take me to the same little test page I set up. However, I want to setup a VirtualHost with Apache so that brrdd.com will load a different page.

Is this possible? I've tinkered with my httpd.conf file, but can't seem to get brrdd.com to bring up a different page than gotpinkhair.com. Has anyone tried this before? Do I need to get Gate to do something for me on their end?

Help. And thanks.

bkcash
07-08-2007, 09:18 PM
You should be setting your domains up in Plesk. There's really no need to go into the httpd.conf file unless you need to do some customization for safe mode or something like that. Once you set the domains up in Plesk, all you have to do is point your A records to the IP for your VPS. If you didn't set the domains in Plesk, you're probably ending up at the default test page for your server.