Mobile app version of vmapp.org
Login or Join
Cooney921

: Files uploaded to hosting account but DNS is not finding the new files I got a new domain http://alfer-ks.com. I have upload files to the server using cPanel, but when I try to load the website,

@Cooney921

Posted in: #Cpanel #Dns #WebHosting #Webserver

I got a new domain alfer-ks.com. I have upload files to the server using cPanel, but when I try to load the website, it just shows the cPanel default page, which shows that Apache is running and stuff like that.

What am I doing wrong?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Cooney921

2 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

You should browse your file system and look in your www or public_html folder you can delete the default.html or index.html file that is in there. After you upload your files be sure to clear you browser cache. You should also check that the permissions of the files you are uploading are readable by the server

10% popularity Vote Up Vote Down


 

@Murray432

There is probably an index.html page in the root, most servers look for index.html then index.php then default.html and so on until they find one that works.

Find out what the default page is called by looking in your browser's address bar and delete it from the server along with it's associated files, then the correct page should load.

//Update

It seems you're not alone in having the defaultwebpage.cgi problem credit to @egillette for the fix...

Check your httpd.conf for an entry that looks like this:

<VirtualHost *:80>
ServerName yourdomain.com DocumentRoot /usr/local/apache/htdocs
ServerAdmin webmaster@yourdomain.com
UserDir disable
</VirtualHost>


Change it to (adding your IP in place of XXX. and so on)

<VirtualHost XXX.XX.XXX.XXX:80>
ServerName yourdomain.com DocumentRoot /home/yourdom/public_html
ServerAdmin webmaster@yourdomain.com
UserDir disable
</VirtualHost>


Then reboot the server and clear your browsers cache

Upload a .htaccess file containing the line

DirectoryIndex index.html index.php


And you should be golden.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme