This is a placeholder for the subdomain sometimes and some devices? - subdomain

I just made the web site base on ruby on rails and host it at Digitalocean.
So my client want to use their subdomain from their old site.
(Their domain hosted on Godaddy.)
Then i set up everything and it works fine on all of my devices (mac air, iphone5 , iphone6 also and Windows labtop).
But sometimes when some of their staffs open the site they got the message like this
This is a placeholder for the subdomain xxx.yyy.com.
But I never faced this message
So how can I fix this?

Related

How can I open an html & css file on my Macbook on my iPhone?

I'm making a website (html & css) on my Macbook that's just on localhost.
I'm looking to be able to easily open the website on my iPhone for testing.
Does anyone have any neat ideas on how I can do this?
If this is not the right type of question to ask here would someone be so kind enough to point me to an appropriate forum?
Ensure that the two devices are on the same network, make sure that the HTTP server isn't just listening on the loopback interface, then just replace localhost in the URL with the IP address or hostname of the Macbook and load that on the phone's browser.

Can access WAMP on mobile phone but layout is destroyed

I am new to WAMP Server Configurations and it seems that I managed to setup my server to run on other devices by using the Ngrok that allows user to create a terminal for their website.
I tried visiting the URL that ngrok gave me. The layout shows properly in a desktop. BUT upon accessing it in my android phone, the layout is not showing and it is just plain HTML.
Is there anything that I can do to fix this one?

how do I host my webpage in localhost on my Mac?

I am working on a webpage & I would like to see how it renders on my iPhone's safari browser. Rather than officially purchasing a domain & hosting, because its in the development stage I just want to view it on mobile safari temporarily.
So far I have enabled Web Sharing:
and when i type in my IP address in my iPhone's safari, the localhost seems to be up:
I have also re-created the "sites" folder:
So How do I host the current webpage i am working on with localhost, then being able to access it on mobile safari? *NOTE I want both the html and css files to be accessed to show a complete webpage
You should consider downloading and installing Prepos and you'll be able to view your website in any device connected to the same network.
It's easy to use and the trial version never expires!
After installing it to your Mac, just drag and drop the site root folder into Prepos. There's a tab where you can see the http path to view in any device: TV, tablet, smartphone or any device with internet access. The only requirement is that they must be connect to the same network.
Go to your Network Settings.
Then write down your IP Address.
Go to http://youriphere/~youruser/ in Safari or whatever browser and that's it!

mobile/phone emulator for html files on hard drive?

I have a website built on my hard drive that is not yet on the web. I'd like to check how to displays on various mobile devices prior to uploading to the web. I have downloaded a few emulators, but they seem to only "point" to a website and I cannot make them display a html file on my hard drive. Any help or pointers? I'm new to website development and learning while helping a friend.
Run website on your hard disk:
To run a website on your computer you need to have a web server, You should download one of these
mamp, xampp, wamp.
Then put your website on the web server software root folder.
Mobile Version:
Adobe Dreamweaver has a further for web designer who wants to see websites with mobile
http://www.htmlgoodies.com/beyond/webmaster/toolbox/how-to-build-a-native-mobile-application-in-dreamweaver-cs5.5.html
The adobe mobile simulator works like mobile and you don't need to upload your website and just test it with adobe Dreamweaver mobile simulator
Other mobile version:
If you are going to do it with your browser firefox you can press ctrl+shift+m
Hey if your phone and the computer with the harddrive are in the same wifi network, I would do it like this:
Install XAMPP. It is a very easy to-use, preconfigured webserver for development. After installing it, create a folder for your website (example: "mywebsite") in the "htdocs" folder in the xampp installation folder.
Open Xampp and start the apache webserver. Now, when you enter "localhost/mywebsite" as a URL in your browser, you will see the content of the folder. If you enter "localhost/mywebsite/mysite.html" you will see the "mysite.html" file rendered as a website.
Now as long as your apache sever is running, you should be able to access the site from any device within your network, without further configurations (like port forwarding or DynDNS).
Edit: Now as I reread your question I see that you don't want to test the site with real devices but with emulators. Well, I hope it is still helpful.

Windows Form User Control is not displaying at client pc in web page after deploy of website on server

I have a Windows Form User Control containing a button, I added it to my website using:
<object id="UserControl" classid="http:TestControlLibrary.dll#TestControlLibrary.UserControl1" height="100" width="100"></object>
When i run my website in development environment using localhost, every thing is working fine.
when i publish my website on server and access it using http://<ipaddress:port>/page.aspx on server itself it is working fine.
but, when i access my web site from client pc it is not showing button in web page.
How to show this button in web page on client pc.
Found the solution,
My site should be included in the trusted sites list of the browser.