From the expression by littleman, this particular host appears
to be notverynicepeeps.com
Here's a scenario that should help me fill in the gaps.
I have a website with domain name adomain.com at IP
999.99.99.999
I would like to associate bdomain.com with
IP 999.99.99.999.
I have transferred bdomain.com to notverynicepeeps.com
by way of their standard dns1_&_dns2.notverynicepeeps.com
host servers, as per their request. No further instructions
or replies, 5 days later.
I have transferred all the new content to the server and
can view it by typing in the IP in my browser.
I now want to be able to type in www.bdomain.com into my
browser and get my new content.
I seem to have access to two files, domain.conf and httpd.conf
domain.conf contains :-
DOMAIN=adomain.com
IPADDRESS=999.99.99.999
the other entries are about space, alias numbers etc.
httpd.conf contains only :-
Port 80
ResourceConfig /dev/null
AccessConfig /dev/null
ServerRoot /virtualhosts/adomain.com
<VirtualHost 999.99.99.999>
ServerAdmin webmaster@adomain.com
DocumentRoot /virtualhosts/adomain.com/www
ServerName www.adomain.com
RewriteEngine On
RewriteOptions inherit
TransferLog /virtualhosts/adomain.com/logs/access_log
Alias /stats/ /virtualhosts/adomain.com/logs/
User ***
Group sites
</VirtualHost>
So, to my question. Can I add the relevant sections to these
files or does notverynicepeeps have to do something to map
bdomain.com away from their standard dns1_&dns2 hostservers
before it will work ? Does DNS wildcarding have any relevance here ? How is that arranged ?
Thanks in advance for any help offered.
TC
In the httpd.conf you posted, you had a line missing:
NameVirtualHost 999.99.99.999
This line should be entered before any <VirtualHost> directives.
You *should* then be able to set up any subdomain you like - including www - by adding new VirtualHost sections
I made the change in httpd.conf with no effect.
I think the answer lies in the fact that all this would work if they first change their own dns mapping table to reflect the new domain being resident in their system
TC
PS. Since they're not very nice people, I switched hosts today.