ASP TO HTML Help?

howard_hughes

Elite Member
Jul 23, 2009
5,066
3,730
Hi Guys,

Need some help on this one..

I have hostgator linux hosting which wont allow asp pages.

Now I've already paid for a year.

The problem is.. There's a site that needs to be hosted on this hosting plan.. but its in ASP:(

Is there a converted that can convert ASP to HTML?

Or Is there any other solution except buying another hosting..??
 
You should better have it converted to php if you want to keep it dynamic.

If you just want a static copy, then run in in a localhost iis and save it as html
Posted via Mobile Device
 
You should better have it converted to php if you want to keep it dynamic.

If you just want a static copy, then run in in a localhost iis and save it as html
Posted via Mobile Device

I want to keep the design as it it coz its not really my site.
 
There are program such as webzip which can download an entire site.

The question is: at the moment is the website running somewhere?
 
There are program such as webzip which can download an entire site.

The question is: at the moment is the website running somewhere?

you got it wrong.

What I meant to say is -

Someone else owns the site. He gave me the pages to host his site on my hosting.

Problem is - the pages are in .ASP but my hosting is linux hosting which doesnt support asp.
 
  1. install IIS on your home pc
  2. copy the website in the localhost folder
  3. save the pages in html format (either with "save as.." or some batch tools)
 
  1. install IIS on your home pc
  2. copy the website in the localhost folder
  3. save the pages in html format (either with "save as.." or some batch tools)

I'm afraid it's not that simple. If the pages are .asp and have actual ASP code in them, then merely changing the file extension won't be good enough. What will end up happening is that the ASP code itself will be displayed on the web page. If the site's functionality is to be maintained, then it will need to be properly converted to PHP. There's no "tool" to do this. What you need is a programmer who knows both ASP and PHP or a programmer who understands the functionality of the site and can simply reproduce it in his/her own style using PHP.
 
He said it will be fine for him just to have the html processed output, he doesn't care to have it re-written in php.

So, if he has the ASP source files, all he has to do is run the website on a localhost supporting ASP (Microsoft IIS).
 
He said it will be fine for him just to have the html processed output, he doesn't care to have it re-written in php.

Where did he say this? It may have been implied in his first post based on his wanting to "convert" ASP to HTML, but the fact that he asked how that could be done demonstrates his lack of understanding of the differences between static and dynamic web pages. It sounds like the owner of the ASP site also shares this lack of understanding, else why would s/he even suggest hosting it on a Linux server?

Furthermore, you made the first reply in this thread, where you offered two suggestions:

You should better have it converted to php if you want to keep it dynamic.

If you just want a static copy, then run in in a localhost iis and save it as html

It's clear from your reply that you did not know whether he wanted the site to be dynamic or static. So again, where did the OP say that he wants only the HTML and does not want the site's dynamic functionality to remain? Did you have some private communication with howard_hughes that is not visible here?

So, if he has the ASP source files, all he has to do is run the website on a localhost supporting ASP (Microsoft IIS).

The OP clearly stated that he "needs" to host the ASP site on his HG plan. If that's the case, then the pages will need to be re-coded as HTML or PHP. If he wants only the HTML and merely changes the file extensions from .asp to .html, then any ASP code in those pages will be displayed in plain text on the web pages and will appear as gibberish to the site's visitors. Also, any of the site's functionality obtained via ASP will be lost/broken.

As for hosting the site on his home PC, that will undoubtedly be more trouble than it's worth. He won't be able to turn the computer off (well, he could, but obviously that would result in the site being down), and he'll need a static IP. There are also security risks involved with hosting a site on a home PC. Let's not forget performance, either: if the site gets a lot of traffic, that could slow the PC to a crawl and/or crash it. Last but not least, ISPs are typically not fond of people hosting websites on their computers.
 
It depends on how many actual asp code is there in the files. asp codes usually are contained within the symbols <% %> .
Does it use a database? If so it wont be so easy to convert it into html. If it doesn't, most probably an easy task
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock