ruby project firebase hosting css not showing - ruby-on-rails

website running perfectly on localhost but not when hosted to firebase.css part is not showing .already put all my files to public folder

Related

MVC deployment on inner directory

I have my simple static site (http://www.unifiedexpert.com) running on a windows server. The site is accessible and working fine. I was thinking to deploy a demo site on an inner directory to demo something to one of my clients.
I created a new directory on root location and placed demo site contents inside e.g. http://www.unifiedexpert.com/texvitplus. When I try to access the demo site it gives 403 - Forbidden: Access denied error. The demo MVC site works fine if I deploy on root directory http://www.unifiedexpert.com.
Is there any possibility to deploy a site on inner/subdirectories. I tried this kind of deployment many times on PHP servers and it worked fine.

Cannot find App_Start foler or update bundle config of ASP.NET MVC website in cpanel in live server

I am deploying an ASP.NET mvc application in this hosting smarterasp.net. Currently my hosting plan is 60 days free trial. I got access to cPanel. Now I already successfully deployed my website on live server. But I want to change the Bundle config class, because I added new CSS files and want to reference it.
So I opened file manager from cpanel and find App_Data folder where bundle config class exists. But there is no App_Start folder in file manager as you can see below.
How can I edit my bundle config class? My hosting is Smarterasp. This is my first time of deploying an asp.net website on live server.
You should note that the whole asp.net mvc web app gets compiled into a single dll. If you need to make an update, you should recompile and re-upload everything including the (web app name).dll file in your bin folder. If you just change code on the server, it won't reflect on the site.
Other than that, please provide some more info. Do you see the app_start folder on your local dev machine? What happens if you re-upload it?

IIS and MVC show folder structure

i have tried to deploy an mvc application in an windows server 2008 with iis7.
i have copied all the content to the inetpub/wwwroot folder
i changed the framework version of the application pool to v4.0
i ran the aspnet_regiis.exe
the project was properly released because i have deploy succesfully to my desktop dev (iis) and one arvixe hosting, but i cant make it work on the server.
but i can only see the folder structure, i tried creating virtual directorys and everything, but nothing works. am i missing something.
thx

Old website is being loaded instead of the new one

PS: I'm a complete Noob at servers stuff
So Initially I had this directory on amazon ec2, I did run the rails server using the terminal by connecting with ssh. Everything was working fine as expected when I hit the domain URL(I added the elastic IP in the A records of domain provider)
Now I rebuilt the website from scratch, it's on a different git repository, in order to replace the old one with the new one, I logged into ec2 via terminal, shut down the previously running rails server, cloned the new repository, navigated to the root directory and ran the server again.
when I visit the registered domain, it's showing the HTML file of the old code(no stylesheets nothing, just the index.html), if I visit amazon_public_DNS:port_number, I'm getting the new website loaded.
Do I need to change anything else ?

MVC4 WebSite 404 Error on IIS7

Set-up
I have a website built in Visual Studio 2012 using MVC 4 and .NET framework 4.5.
It is being hosted on a Windows 2008 and running IIS7.
I am using a VS2012 "Web Deploy Package" to deploy to the server. I manually copy this to the server and run the install using the web deploy cmd script option /T and then /Y. It all installs fine to the Test folder.
On the Test website in IIS the application pool is pointing to the DefaultAppPool which is set for integrated and pointing to the .Net Framework v4.0.30319
I have created a new Web Site in IIS for the application called Test and defaulted the bindings for port 80 and stopped the default web site that is in IIS.
I've created a new foldeer called Test under wwwroot which is where the Web Deploy script is set to point to, when I created the script I add "Test" as the Site/Application
When I have created the web deploy package on my local machine I am manually copying the zip file and other deploy files (cmd,*.xml) to the remote server
I have run %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i on the server and installed .net 4.5 framework and MVC framework components I could see in the Web Platform installer.
Problem
This website was previously being hosted on Windows Azure and have been able to direct publish to Azure and everything runs fine and when I go to any page it displays as expected.But on the new web server I get a 404 when I go to any page.
Everything seems to be installed as far as I can see on the web server. I was able to stop my website and re-start the default web site and add an index.htm file and that displays fine.
It almost seems like something in the MVC pipeline is not initialising. I'm using the standard Home controller with Index action that comes as part of the VS20102 MVC template as a test and that returns me a 404 when I go to /Home.
I've also tried other endpoints (I have WEB api rest endpoints off /API/* and these are returning 404 errors).
I'm just wondering if there is some basic set-up I've missed. It almost seems like some service is not running correctly and picking up the MVC website.

Resources