
|
View Full Version : no website configured
Devils-Lair.net 02-17-2006, 02:52 AM hi everyone
im looking for a way that when i have created a account, a default index page is placed on this site stating there is no website and to replace the index.htm with there own
Real-Hosts 02-17-2006, 05:49 AM Just create that template, and then copy into that new public_html .. If your using a controlpanel, it should be done automatically.
Devils-Lair.net 02-17-2006, 06:13 AM i dont think you understood my question properly unless its me with lack of sleep.
e.g :: a customer signs up for a website if he chooses to leave it and not even access the space there wont be anything there part from cgi-bin
i need a script to copy a template.html to this users space explaining
there is no web site blah blah
please replace this index.html with your own
Real-Hosts 02-17-2006, 06:21 AM Yes,
DA and cPanel do that accordingly when you make an account.
If not,
You will need to use a bash script (if you have access) or a PHP script, using system() I believe, to make it copy a template index.html you have in a folder, to the new user's public_html... You need access on some level to be able to do this.
What platform is this?
Reseller account? No controlpanel? You run the dedi box? Colo'd box?
matt4 02-17-2006, 06:30 AM I use this for my clients too. You need to go to ftp and then cpanel-3skel and then public_html upload your file there and you will have it automatically on your clients sites that dont have their own uploaded. Hope that helps. Should work. If its not what you mean I apologise.
Devils-Lair.net 02-17-2006, 06:30 AM reseller account @ hostgator
Real-Hosts 02-17-2006, 06:51 AM HostGator use a panel don't they?
DA or cPanel, or perhaps something else. Do you know what it is? I'm sure this should be done automatically... If not, since when you create an account, the directory is owned by the new account name, you will not be able to simply copy into it...
FTP upload may be your best bet, assuming your ftp login is above their user home directories.
Devils-Lair.net 02-18-2006, 03:12 PM Just create that template, and then copy into that new public_html .. If your using a controlpanel, it should be done automatically.
i did try this and it did'nt work
SoftWareRevue 02-18-2006, 03:18 PM What do you mean it didn't work?
You created an index.htm file and placed it in the user's public_html and it doesn't display?
CD Burnt 02-18-2006, 03:47 PM :)
http://www.google.com/search?hl=en&lr=&safe=off&q=%22no+website+configured+at+this+address%22&btnG=Search
IGobyTerry 02-18-2006, 04:21 PM The no website configured at this address is not the same as when the account is initially created. When an account is initially created, you're going to get a directory listing by default. You can modify it by using the instructions above.
The "no website configured at this address" is essentially more or less an error page. A reseller cannot modify that page, as it is held under root permissions in /usr/local/apache/htdocs/index.html. If you're seeing that page, it's usually because a website has already changed it's nameservers to point to a new server, but the account has not been created on that server yet.
Devils-Lair.net 02-18-2006, 05:27 PM What do you mean it didn't work?
You created an index.htm file and placed it in the user's public_html and it doesn't display?
what matt4 said did'nt work, i tried then created a test account and no index file was there just cgi bin dir
Devils-Lair.net 02-18-2006, 05:32 PM The no website configured at this address is not the same as when the account is initially created. When an account is initially created, you're going to get a directory listing by default. You can modify it by using the instructions above.
The "no website configured at this address" is essentially more or less an error page. A reseller cannot modify that page, as it is held under root permissions in /usr/local/apache/htdocs/index.html. If you're seeing that page, it's usually because a website has already changed it's nameservers to point to a new server, but the account has not been created on that server yet.
when i used to have hosting i bought a plan logged in via ftp and looked at the index file in there it had the company log one saying there is no website and pls overwrite this with your own, a kind of advertising until the owner uplaods there site.
IGobyTerry 02-18-2006, 05:40 PM when i used to have hosting i bought a plan logged in via ftp and looked at the index file in there it had the company log one saying there is no website and pls overwrite this with your own, a kind of advertising until the owner uplaods there site.
That's something that they have configured themselves, using the cpanel3-skel directory, as explained above. However, when we're talking about a page such as this (http://72.9.254.71/index.html) that is a page that cannot be modified as it is at the root level. Now a provider could simply modify it to be the default page for new accounts as well, but there wouldn't be an advantage to doing so.
By default though on a system with cPanel/WHM installed, a directory listing will show with the cgi-bin directory being the only existing object immediately after account creation.
|