hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : VPS server driving me crazy!
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

VPS server driving me crazy!

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-13-2005, 11:18 AM
TheChillPill TheChillPill is offline
Newbie
 
Join Date: Dec 2005
Posts: 5

VPS server driving me crazy!


I'm yet another one that has taken advantage of the webfusion 1 month free trial, and given that their support is pretty much non-existant, I figured I'd try here to find out what I'm doing wrong.

The VPS is running plesk, and I've also installed and configured Coldfusion on the server (it's a windows box btw).

I've configured a site, have the domain pointing to the server and everything appears fine - email works for the domain, the plesk default holding page displays fine when I type the domain etc.

However, I've been trying to upload a few pages without success. FTP logs in fine, and the files are placed and I can see them - but whenever I try to browse to them via my browser, I get a 404 error. I've placed the files in the httpdocs folder (also tried the root folder without success) - now if I delete the default index.html file from the httpdocs folder, the domain itself just comes up with a 404 too - so I assume I'm putting them in the correct place.

As the files I'm uploading are coldfusion files (.cfm) I initially thought that perhaps CF wasn't configured correctly - but then it occurred to me that if that was the case, I would either be presented with the code or asked if I want to download the page. Instead, I just get the 404 error.

I've tried this numerous times now, under different domains and subdomains, all with the same result.

Am I missing something really obvious somewhere?

(If this is the wrong place for this - please point me in the right direction, thanks!)

Reply With Quote


Sponsored Links
  #2  
Old 12-13-2005, 11:50 AM
mmarinsen mmarinsen is offline
Disabled
 
Join Date: Nov 2005
Location: Singapore
Posts: 6
two shots in the dark

umm... i'm no expert. i've got a couple of ideas which may help. may not. my server has its webroot at /home/www/htdocs, compared to your statement that you had used the httpdocs folder. i guess a wrong folder name could make everything act weird. or maybe the coldfusion files, being dynamic, are trying to include a dependency file that cannot be found... so no matter what file you load, you get a "cannot be found" 404 error due to that dependency?? i've even seen scripts that revert to an error page when they have a server-side error in the code. some lazy programmer could have built his script to redirect to the 404 page, rather than showing an intelligent error result. are these coldfuion scripts your own, or some you downloaded? if they're your own, then it's less likely to find any fault with the scripting. do you happen to know that the coldfusion pages will run on another server? .....okay, that's all the troubleshooting questions that I know to offer. ...Good Luck! =)

Reply With Quote
  #3  
Old 12-13-2005, 11:52 AM
mmarinsen mmarinsen is offline
Disabled
 
Join Date: Nov 2005
Location: Singapore
Posts: 6
whups - just noticed you said it was a Windows box. my win machines always put the webroot for IIS at C:\Inetpub\wwwroot.

Reply With Quote
Sponsored Links
  #4  
Old 12-13-2005, 11:55 AM
TheChillPill TheChillPill is offline
Newbie
 
Join Date: Dec 2005
Posts: 5
Thanks for the response - the coldfusion pages are my own, and don't actually have anything other than a 'hello world' message (just for testing purposes).

Regarding the folder name - I don't have one called htdocs, and as mentioned in my original post, the index.html plesk creates was in that folder and shows a 404 after I delete it, I get a 404 again - so I'm almost certain it's the right place.

Thanks for the input though :-)

Reply With Quote
  #5  
Old 12-13-2005, 11:57 AM
TheChillPill TheChillPill is offline
Newbie
 
Join Date: Dec 2005
Posts: 5
Quote:
Originally Posted by mmarinsen
whups - just noticed you said it was a Windows box. my win machines always put the webroot for IIS at C:\Inetpub\wwwroot.
Same here - thats always been my past experience. I suspect the folder change is due to plesk, or the way webfusion set the box up.

Reply With Quote
  #6  
Old 12-13-2005, 12:50 PM
Funky Rob Funky Rob is offline
New Member
 
Join Date: Dec 2005
Location: Devon, England
Posts: 1
My guess is that the default page type is not set up for .cfm pages. Try going to yourserver.com/index.cfm - if this works, setup the default page type:

Edit httpd.conf
Find the line which says something like:

DirectoryIndex index.html

Add index.cfm to this line, eg:

DirectoryIndex index.html index.cfm

Hope this helps

Rob

Reply With Quote
  #7  
Old 12-13-2005, 12:59 PM
TheChillPill TheChillPill is offline
Newbie
 
Join Date: Dec 2005
Posts: 5
Thanks Rob, it actually gives a 404 error for any CF page, even when I type it directly as you mention.

I've actually uploaded a page called index.html, with just some test text - and that works fine. So, I'm guessing that maybe the CF server isn't correctly configured. However, I would have expected the server to either be showing me the cf code, or asking me to download it - can't quite figure out why it's just giving me a straight 404 when the page is clearly there.

Reply With Quote
  #8  
Old 12-13-2005, 01:45 PM
TheChillPill TheChillPill is offline
Newbie
 
Join Date: Dec 2005
Posts: 5
Just uninstalled and reinstalled Coldfusion, and now it seems to be working fine. Must have been a botched install first time. Thanks for the input.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Microsoft Emphasizes Hosting Partner Focus at HCTS NA Web Hosting News 2012-09-19 13:53:50
Web Host OrcsWeb Offers Support for Windows Server 2012 Web Hosting News 2012-08-24 11:08:35
Web Host Webzilla Acquires Luxembourg Web Host Server.lu Web Hosting News 2012-07-05 11:14:06
Web Host 1&1 Enhances Dedicated Server Line with 32 Core, 64 GB RAM Server Web Hosting News 2011-12-20 15:30:05
DiscountASP.NET Launches Free Beta for Microsoft SQL Server 2012 Hosting Web Hosting News 2011-12-13 22:02:03


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?