Transfer site to shared hosting server - zend-framework

is it possible (if not then whats the easiest way to) transfer a site created on a local server using zend framework to a hosted server by an isp. Is it even possible to create a site using the zend framework on an isp's server.

It is a very simple task to do - normally paths, database links and a few bits and pieces need to be customised - but not too much work.
Regards,
Matt

Related

Show other domain using DNS instead of iframe

I got 2 domains bought at diferent providers and I would like http://aaaaa.com to show http://bbbbb.com/aaaaa
Is this possible using only DNS? must I transfer the domain to my hosting provider that has the http://bbbb.com domain? I really don't want to use a redirection or iframe.
Thank you for your help!
You can do that on DNS Level in two ways:
Depending on your Provider you can make http://DomainA.com/ redirect with masking to http://DomainB/Folder now this is premature way of doing it specially if SEO matters to you.
If you have your own servers or you can add Virtual Directory on the server you can point DomainA to this server and make http://DomainB/Folder location as start point.
This can be done with Apache, Nginx or IIS.
Please can you give me more explanations on what OS and what kind of hosting you have so i can help you with this? And also what kind of application because if your using .net its a bit different then using normal PHP or HTML or wordpress... U will need to add Virtual Directory to achieve this.
If your using shared hosting and have Apache web-server the easiest way to do it is so:
.htaccess and Apache also can handle such redirection.
http://www.site5.com/blog/apache/htaccess/redirect-to-blog/20090427/
Regards and hope this helps.

Is RESTlet suitable for this job?

(sorry for reposting this question, for some reason I can't log in to the other account)
Is RESTlet the best choice for performing the following server/client architecture?
1- we have a server containing a database and an ftp server (within a network of 20 clients)
2- the various users on the network can create user accounts (there exists different access permissions)
3- users should be able to:
(a) retrieve data from the database or files from the ftp server
(b) store data in the database or upload files to the ftp server
This is not a web application that requires a UI, the thing is that multiple programs (with UI) will be developed on the clients computers and these programs should interact with the API in order to do points (a) and (b) as accessing the data on the server and displaying them on the UI of these programs.
I made a research so far, but would like to get more expert opinion from you. Thank you in advance
As far as I can see, this is perfectly doable with Restlet. Actually, you can use any technology to implement your web API resources: databases, files, FTP sites, pure logic, etc.

fetching a file from a url for mobile app: How to manage server side running Joomla?

Im new to website development and design so apologize in advance if the question is redundant.
I have a program where a client, using a URL string fetches a XML file from a webserver. This would be no problem right if it were a simple URL with no security or no CMS (like Joomla) involved: Just put the exact URL string and the client gets the file from the web server, done.
But, how would the process work if the URL is on my site hosted on GoDaddy and using a Joomla CMS?
Im trying to understand how the same process of fetching a file works on a hosted server using a CMS. Since I just made the transition from my site being on my school's servers to having a Joomla website Im hosting on goDaddy.
I mean where would I put the file if I also want the file to be accessible only if the client authenticates itself first. Just to be on the safe side. I mean is this how normally things work in mobile apps? I have a client program thats a iPhone app and within the app I have a XML file which is used as a data source for my UITavleView, but I want to check some URL to see if an updated version of the XML file exists. My app side programming is mostly done, now Im trying to learn the server side things I need to do to make this process happen with Joomla and my own hosted site
I donot understand how would the process work in that case. I mean, what are the things I would need to do on the server side to and the client side to make this possible?
Please help me understand or if you could point me to some links where these steps are illustrated...or if you could give me some Google key words I can search for to learn about this process.
thanks a lot
The fact that you have a CMS does not generally change how you access a file within the file structure of your domain unless the CMS protects certain directories. In this case, Joomla does not so you can directly access any file you wish. Depending on the sensitivity of the information you are trying to retrieve, you can protect the directory through your domain management panel. If it's not particularly sensitive, the authentication can be done by the app since the URL you are accessing can be easily hidden from the user.
It seems like that would be the simplest solution since the app will have access to user information by nature of where it resides.

Building a webportal which will be rented to customers. Need an Architecture Suggestion

Iam building a web portal which will be rented to customers on a hosted model (SAAS), where they will be using the entire portal features on their own domains with their own branding.
Now I don't want them to get the files of my web-portal, but still be able to use a custom branded portal.
One solution which someone suggested here was to host the branded version on my server and all it via an Iframe on the customer's domain. However I didn't like the idea very much.
One second approach which I researched and found was to host the portal on a fresh IP in my server and ask the customer to point his domain to that ip.
The webportal will be sold to lot of customers and they all will have separate User Interfaces and brandings, so this is needed.
Please suggest me what do you feel about my approach or if you guys have a better idea in mind please pour in your suggestions.
iFrames are evil.
With that said I would probably go with a subdomain approach. They add a subdomain like webportal.somecompany.com that points to you and have your webserver route them to the correct hosted instance of your application based on subdomain. That way their www.somecompany.com still goes to their website.
We're running a SAAS application that supports branding, and we do it by dynamically serving up CSS. If all of your customers have a unique domain name pointed at your server, you could select your CSS files by domain name: If a customer logs in at "http://portal.customer.com/login", you can have his HTML link to the file "/stylesheets/portal.customer.com.css", and so forth. Alternatively, you can create a subdomain for each of your customers, and point them all at your master server, using very similar code to pick the CSS.
This lets you have a single IP address for all customers (and only as many servers as you need to support all your customers behind that IP address), instead of one IP address / server per customer - should cut save on hosting costs!
(NOTE: I'm leaning toward the subdomain approach, the more I think about it. If you're using HTTPS, it would let you use a single "*.yourdomain.com" certificate, rather than trying to mess with separate certificates for each client domain.)
You don't need to run different IPs for different customers. HTTP 1.1 supports Host: like so
GET / HTTP/1.1
Host: example.com
This is how most shared hosts work. When a customer sets up their DNS records to point at your server/load balancer, the incoming requests will have your client's hostname in the headers. Whether you set up virtual hosts in say Apache or do it at the application level is up to you.
Please for your own sake don't do iframes. There's a lot of information on the web on architecture for multi tenant applications.
I made the experience that in such a scenario your customers will come up with any possible web UI requirement you can imagine. Therefore it is rather difficult to build a web UI framework that can accomodate to all the needs, in fact this would rather be a content management system.
Furthemore, for building the web UI, you may meet any combination of customer in-house development, 3rd party web agency or request to get it developed by yourself.
In such situations I made good experiences with offering the SaaS as actual web services allowing custom developed portals to run on top. With this, anybody can build the actual portal with the clients look and feel. You could offer development and hosting as an option.

build a tcp server to test asihttp

I am working on iphone networking application.. I am using asihttp , a wrapper of the CFnetwork framework. http://allseeing-i.com/ASIHTTPRequest/
I want to build a server that sends some data on request from the client... I want this for the sole purpose of testing the application i write and understanding the networking more deeply..
Any help is appreciated
Thank you
Seems like the most straight forward solution is to setup an Apache HTTPD server and just put a static document at the location you want your data to come from.
The two most simple approaches that come to mind:
Enable Web Sharing on your Mac. You can then access the documents in your Sites directory inside your home directory. The Sharing preference pane will tell you the exact URL.
If static content is not enough, write a little Python web server to serve content. Python comes with standard HTTP Server modules. You can get stuff going with like half a dozen of lines of code.