/    Sign up×
Community /Pin to ProfileBookmark

Help! View website locally with hard coded URL’s in flash menus?

Can this be done? My friend has an online portfolio website and the developer has gone totally awol. He needs to show his website offline to clients next week in a place where there is no internet connectivity. He has asked for my help, but I am a total novice to web design and only know very basic stuff. I was wondering if I could download the whole site folders locally and somehow view these in a browser. I have full FTP access to the host. The site has no database, it’s just a portfolio with photos and a some flash menus. I know however that there are lots of hard coded URL links in the flash menus though and I have no access to the source files. After looking around, I see that there may possibly be some way around it by modifying the localhost setting? I really don’t know what to do, so any basic advice in a step by step basis for a total beginner would be so very much appreciated!

to post a comment
Full-stack Developer

3 Comments(s)

Copy linkTweet thisAlerts:
@NogDogNov 05.2014 — I'm thinking if you run a local web server on the PC (e.g. run Wampserver or XAMPP if it's Windows), you could set up an entry in the Windows hosts file to send that domain to your localhost (127.0.0.1), and also set up an entry in the Apache vhosts to point that domain to wherever you choose to store the site files.
Copy linkTweet thisAlerts:
@giraffedevNov 05.2014 — What NogDog said basicaly.Just set up XAMPP / LAMP stack and you are basicaly done.Place the html folder into the htdocs folder,open the browser,use localhost as address and you are ready to rock.
Copy linkTweet thisAlerts:
@NogDogNov 06.2014 — I may also be over-thinking things here: If the URLs are hard-coded relatively as "/foo/bar.html", you don't even have to worry about the hosts file and Apache config: just put the files in your WAMP/XAMPP document root directory, and access them via localhost (e.g. [noparse]http://localhost/foo/bar.html[/noparse] in this example). But if they are hard-coded with the domain as well ([noparse]http://example.com/foo/bar.html[/noparse]), then you would need those extra steps to have your browser look locally for the site instead of over the internet.
×

Success!

Help @Solan_Goose spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...