moving joomla site from windows to linux servers - asp.net

Would there be a problem if I host my joomla site created in xampp for windows on linux servers? If so, what can be done? Also, is there a way to create linux environment(at least for the sake of running xampp) on windows 7 to create joomla sites which should have no problem running on linux servers?

You could install Linux on Windows PC and to create a multi boot.
My advice is to get some Linux hosting providing money back guarantee, to move your site and if this is not OK to cancel the service and get your money back.
You should not have any problems to move your site because joomla is based on PHP. The problems will be if it was on ASP.NET.

If URL rewriting is enabled, you will need to create a .htaccess file to replace your web.config file.
You will also need to update your tmp and log paths in Global Configuration.
Apart from the above, there will likely be no other issues.
An alternative to dual boot is to use virtualisation software such as VirtualBox so you can run Linux on your Windows PC. This works well as long as you have enough memory available.
VirtualBox is free: https://www.virtualbox.org

Related

asp.net MVC 5 hosting setup

Note: because there is no windows hosting that satisfies me at the moment, I'm developing my application in PHP and host them on a linux VPS.
Since Windows Server 2016 supports Docker and you are able to create .net 4.5 images, I thought why not review my applications and hosting plans.
Because I'm not a fan of hosting websites directly on a VPS with IIS (setup and configuration seems clumsy), I thought this "infrastructure" seems ideal for me.
A Windows 2016 VPS
A Linux based VPS
For each asp.net application, create a docker image based on microsoft/iis. This means that for the application, there is nothing left to be configured, right? This application will run on the Windows 2016 server.
On the Linux VPS, I will have nginx configured to have all the configuration for SSL certificates and optimizations. Nginx will have proxies that point to the Windows 2016 VPS on specific ports for the different applications.
I think this architecture has scaling possibilities, less configuration on the Windows VPS, more room for improvement? It should even be possible to do this with Ansible if I'm not wrong.
I only need hosting, nothing related to email, ftp, ... That's why I'm not using shared and/or cloud hosting.
Does this architecture seem fine?
Am I missing something?
Would you still just use a Windows VPS for hosting asp.net applications, even if this architecture is possible?
Does this all seem possible with Ansible? I only have basic experience with it.
I don't see anything wrong in your proposal. Remember you can use ansible inside the Linux image's Dockerfile. Maybe you can find that it is an overkill but it should work.
Probably you will find some problems linking your Linux / Windows containers. But I don't see anything short stopping.
Go ahead and post your results. Also if you encounter some walls just ask here and we will try to help.
Regards
because there is no windows hosting that satisfies me at the moment, I'm developing my application in PHP and host them on a linux VPS.
Would you mind telling us a bit about your requirement of Windows Hosting?
For each asp.net http://asp.net/ application, create a docker image based on microsoft/iis. This means that for the application, there is nothing left to be configured, right?
Once fully functional pre-configured image is prepared, you don't have to perform any other changes to your main image. The main image is only modified when you want to update any application in the image or looking to make any changes or update Windows OS.
Does this architecture seem fine?
NGINX reverse proxy works with IIS backend, so, this proposed architecture is achievable. Initial setup of connecting Linux VPS NGINX web server to individual Windows docker image is slightly complex. If you are successful doing that, the next challenge will be adding subsequent dockers to Windows Hyper-V. Here, I don't see actual purpose of using Docker images to host ASP.Net http://asp.net/ applications, when you can easily deploy pre-installed VMs through Windows HyperVisor.
As far as Ansible is concerned, I don't have much idea about this product, but as seen on their website Ansible can automate the dockers.

can't find IIS 7.5 after resetting the user

This may be the dumbest question but I have a small problem I am using windows7 and recently I had an issue with my outlook as a result I had to recreate my profile on windows.
since that moment I can't see IIS7.5
I have also tried to use control pannel add windwos feature and I can only find IIS6
The strange thing about this is that I have files hosted in IIS7.5 and when I browse to the web Url(I use custom host) I can go there but creating a new website is impossible as I can't go to IIS 7.5
also browsing to Localhost gives me the indication that IIS7 is installed
What can I do?
I have tried also using the script from Microsoft site link but that wasn't successful and I am wondering what to do really.
also when I type Localhost on any browser I get the big image with IIS7 on it what suggest it is installed.
Just today using manage mycomputer(Win 7), service and application and restarted the IIS Admin service and now I can see the IIS7.5 as per the , but not sure why I can't see it in the accessories on when I do a search for IIS
Thanks
You could always download IIS 7.5 express from Microsoft
There is a similar post in super user forum discussing about the posted issue.
https://superuser.com/questions/752946/iis-manager-disappeared-from-start-menu-and-administrative-tools
Copied from there:
Your system is behaving in an abnormal manner, and it is hard to diagnose that error. It seems like it is caused by some system corruption.
The following tools can diagnose and fix errors in Windows :
sfc /scannow
Scans the integrity of all protected Windows 7 system files and replaces incorrect corrupted, changed/modified, or damaged versions with the correct versions if possible.
System Update Readiness Tool for Windows
Scans for Windows corruption errors that prevent Windows updates and service packs from installing.
Windows 7 Upgrade Advisor
Scans hardware, devices, and installed programs for known compatibility issues, giving guidance on how to resolve potential issues found, and recommends what to do.
Windows Update fixit or Reset Windows Update components
then try again to turn off the IIS Windows feature, reboot, reinstall, reboot.
Full antivirus scan by your current product and in addition at least Malwarebytes Anti-Malware.
If running these tools gives no hint as to the problem, the next step is a Repair Install to Fix Windows 7, which fixes the current installation of Windows while preserving user accounts, data, programs, and system drivers.
The last resort, to reinstall Windows from scratch, is not to be taken lightly unless really necessary.

ASP.NET site deployment on local network

I've created an ASP.NET application and want to deploy it on an XP Pro. machine so it will be available from other computers in the same local network.
What is the right configuration to achieve that?
I've tried to create the application on IIS 7 in Win 7 machine (at home, before going to the customer), but wasn't able to load it from other machine on the network.
Same problem when deploying the site on XP Pro. machine in a virtual machine and trying lo load it from the host machine.
I've canceled an ASP.NET problem by putting a simple html file in the application directory and trying to reach it.
Can you direct me to some check list about deploying a website?
Thank you in advance.
Follow this guide: http://www.wikihow.com/Configure-IIS-for-Windows-XP-Pro
Although I've searched before asking, I've searched again now.
Found this: Can't connect to Default Web Site in IIS 6.0
Disable windows firewall and everything is working....
I fill stupid...
Should this post be moved to serverfault.com? It seems to be a configuration/deployment issue not a programming problem.

How do I setup an ASP.Net/IIS dev enviroment on a Mac for my Flash developer?

No, no, I'm not getting hives ;).
I am able to run a local version of my .NET 3.5 site on IIS and troubleshoot whilst I develop. However, my flash developer is forced to log onto our Windows 2003 and mess with our staging server when he wants to see how his work is doing. This is unacceptable, I understand, but right now there are time concerns so this hack is going to have to fly for a little.
How do I set up a dev environment for my flash developer to be able to work on his local machine? I'm sure this gets done in other places.
VMWare Fusion or Parallels, or give him a virtual machine/PC that he can Remote Desktop to from his Mac.
Not to sound the fool, but isn't Flash not platform dependent? Is the flash developer doing anything more complex than connecting to a remote client to update an .swf file? You don't "need" to be running windows/iis to copy a file from mac to windows. You might try the Remote Desktop client:
http://www.microsoft.com/mac/products/remote-desktop/default.mspx
or set up an FTP account (on the staging server in question?) for him. I agree with the above about using Parallels or VMWare. It's not necessarily a "hack" or "workaround" that you can use and test on multiple platforms. It's a huge plus! As a user of VMWare and ex-parallels user, I recommend VMWare. It takes about as long as "installing windows" to be up and running on a mac, and the resources from your Mac can be available via a "documents" on the desktop (or other) if you so choose.
What kind of Mac is it? The Intel ones can run Windows natively.
Dual boot Windows on his Mac with Boot Camp?
Setup IIS in a VMWare Fusion virtual machine. Do a simplified install of Windows XP and it should run excellent.
That way you can interface with the IIS Server from Mac OS X or from other PC's from anywhere on the local network for that matter.
I use Vmware Fusion to run subversion and Apache servers and it runs beautifully.
well an alternative is the Q Emulator
What is the actual problem? As I see it, Flash dev. makes a Flash movie, and tests it locally, if it needs to communicate with the server, it does just that. If the Flash dev. wants to see it in a page, or see how it communicates with the surrounding HTML and Javascript, he uploads the file to the server using a ordinary windows share (aka Samba-share) or FTP or whathaveyou and then presto, it works.
I've just discovered http://www.virtualbox.org">VirtualBox which is a free alternative to Parallels and Bootcamp. I'm running Windows XP pro on my MacBook no problem at all - note it's for Intel Macs only though.

Can WampServer be used successfully in production?

Can WampServer be used successfully in production? Is this a bad idea?
So everyone knows, and I don't see how this mattered, we've paid for a windows dedicated box and we have existing IIS apps. We just wanted to use a PHP based CMS which installs easier on apache (since it has some dependencies). So, as the title indicated, windows, apache, php, and mysql are requirements.
Additionally, I'm talking specifically of the WampServer flavor of WAMP.
If you're not going onto the internet, there isn't any reason really not to. Of course you'd have to look at all the normal caveats - backups etc.
Instead of using an already made one, why not try to do your own? It would be a good learning experience and really they aren't that hard to get working together.
WAMP is approriate for production of an Intranet. We developed a solution with FLEX (front END) /PHP/MYSQL (BACKEND) and it's been working very well for a year now. You just have to secure the Server on which WAMP runs. WAMP is just a tool for configuring APACHE/PHP/MYSQL on a Windows plateform with ease.
WampServer themselves says they are not appropriate for production, only for development. Security issues, load balancing, etc., are definitely part of it... plus, deploying Apache on Windows is just a nightmare.
Use LAMP. Alternatively, use IIS... if you're going to deploy a Windows production server (don't), use IIS.
LAMP is more stable, but i have wamp running intranet-sites succesfully in two organisations with over a 1000 users.
I don't see why not, but why use Apache on Windows when you can quite easily install PHP on IIS?
I love how the only guy who answered the actual question by paying attention to the fact that the OP was asking about the all in one product that is WampServer has a -1 rating. To reiterate what he said though, yes it would be a bad idea to use it in a production environment.
I'm using WAMP over Windows Server 2003 as a production server for an Intranet. accesing MySQL and SQL Server toghether.
We are not too many users, but I had no problem so far.
Easy configuration, easy maintenance, posibility to autenticate domain users in Apache...
Perhaps with heavy load environments it's not so good, but for me is the perfect sollution by now.
YES, it can be used in production under condition that you install the secure WAMP distro. And yes it can run on Internet and not just intranet.
Here is a link to a secure WAMP for production where you can customize the security level and other settings to suit production environment.
http://securewamp.org/en/
Windows and WAMP can be successfully used in production even on high traffic websites however you will need to make changes and switch from mod_php to FCGID.
Why not just use LAMP? PHP code is portable. I used WAMP for development, LAMP for production.
WAMP would probably work for production, but why not just use LAMP?

Resources