site domain masking not working

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
keydog
 
 
Posts: 200
Joined: Mon Aug 17, 2020 7:47 pm

site domain masking not working

Post by keydog »

site domain masking not working

just put up this site
trying to have the domain masked to show the name of site
hosting is telling me the masking is not working because of a problem with the code
they see some error in the code

I don't know where, the software is not telling me there are any errors
only way I have been able to get it to show up is with the main domain / the folder on the server with the new site

http://thearcadeboneyard.com/key-shop/index.php
User avatar
Pablo
 
Posts: 23916
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: site domain masking not working

Post by Pablo »

How is this related to the software
What is the "error in the code"?
keydog
 
 
Posts: 200
Joined: Mon Aug 17, 2020 7:47 pm

Re: site domain masking not working

Post by keydog »

Im not sure how it is related to the software
hosting support is telling me there is an error in the site code that is keeping the domain masking from working
User avatar
BaconFries
 
 
Posts: 6127
Joined: Thu Aug 16, 2007 7:32 pm

Re: site domain masking not working

Post by BaconFries »

hosting support is telling me there is an error in the site code
Then what is the error code or the error 'in' the code they are referring to?
User avatar
jerryco
 
 
Posts: 943
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: site domain masking not working

Post by jerryco »

What are you trying to do when you say
trying to have the domain masked to show the name of site
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Five Times Excellence!
keydog
 
 
Posts: 200
Joined: Mon Aug 17, 2020 7:47 pm

Re: site domain masking not working

Post by keydog »

trying to get this
http://thearcadeboneyard.com/key-shop/index.php

to show in browser as this
TheKeyShopOnline.com
User avatar
Pablo
 
Posts: 23916
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: site domain masking not working

Post by Pablo »

The domain configuration has nothing to do with the software.
User avatar
BaconFries
 
 
Posts: 6127
Joined: Thu Aug 16, 2007 7:32 pm

Re: site domain masking not working

Post by BaconFries »

What you are asking has nothing to do with the software in anyway. You will need to configure this via the server so that it will do a redirect to any and all requests of the specific domain or a subdomain of it to the other website you require. This is done generally with the use of a .htacess file on the server which your host/server should be able to assist with.
User avatar
jerryco
 
 
Posts: 943
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: site domain masking not working

Post by jerryco »

You could setup a redirect on the index page on where you're coming from to your other.com but it will have to be hosted there.
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Five Times Excellence!
keydog
 
 
Posts: 200
Joined: Mon Aug 17, 2020 7:47 pm

Re: site domain masking not working

Post by keydog »

ok
just goit off the phone with hosting account
they are saying there are 3 different index file
index.php
index.js
index.css


they are saying the priority order the server looks for puts index.php at #16

they sent me this article
https://www.godaddy.com/help/what-file- ... name-16025

the domain is going to the index.js file first and displays just code in the browser

they said to ask if there is way to put the index.js and index.css files in a sub folder and still have it work

tried renaming the .js file but navigation stopped working (panel menu)

I have the page properties
file extention php
document type HTML5
not sure if that has any effect or not with this issue
keydog
 
 
Posts: 200
Joined: Mon Aug 17, 2020 7:47 pm

Re: site domain masking not working

Post by keydog »

just to reply to bacon fries, the tech support with the hosting company did try an htaccess file redirect
it came out showing the main domain / folder with site
User avatar
BaconFries
 
 
Posts: 6127
Joined: Thu Aug 16, 2007 7:32 pm

Re: site domain masking not working

Post by BaconFries »

ok
just goit off the phone with hosting account
they are saying there are 3 different index file
index.php
index.js
index.css
The index.php is required so no need to remove.
From the help:
Generate external JS file for page specific scripts.
Enable this option to generate a separate JS file with the script used by a page. The name of the file will be the same as the page name. So 'index.html' will generate a 'index.js' file
Uncheck this if this then generate a index.html then you will need to remove as you can only have one index page and as you have already have a index.php index.html is not required. ,Note although you can use the .php extension it is really only required if you have php code in the source such as a form

If you do not wish or need the css to be used as an external file then Go to Tools --> Options --> HTML and in the CSS section uncheck Generate external CSS style sheets for page specific styles.
Finally you will need to republish to take affect.
keydog
 
 
Posts: 200
Joined: Mon Aug 17, 2020 7:47 pm

Re: site domain masking not working

Post by keydog »

great going to try that now
in that same options section there is a check box for "generate external JS file for page specific scripts"
should that be unchecked also

will this cause element to not work

because I tried to rename the .js file on the server and the panel menu stopped working
but all els was ok as far as function
keydog
 
 
Posts: 200
Joined: Mon Aug 17, 2020 7:47 pm

Re: site domain masking not working

Post by keydog »

sorry I wrote the wrong file name in last post
I meant the .css file
keydog
 
 
Posts: 200
Joined: Mon Aug 17, 2020 7:47 pm

Re: site domain masking not working

Post by keydog »

that did it and everything is still working
no index.js file on server

thanks bacon fries, you have helped me with this stuff secveral times in the past

http://thekeyshoponline.com/index.php
User avatar
onlye
 
 
Posts: 481
Joined: Sun Jun 17, 2018 12:36 am
Location: Gluckstadt, MS USA
Contact:

Re: site domain masking not working

Post by onlye »

this might work? - change the order of the index files that are used by adding a line to the .htacess file

DirectoryIndex index.html index.php

https://www.hostinger.com/tutorials/cha ... toryindex
onlye
Gluckstadt, MS USA
keydog
 
 
Posts: 200
Joined: Mon Aug 17, 2020 7:47 pm

Re: site domain masking not working

Post by keydog »

thank you for the help
the issue bacon fries suggested worked so Im leaving well enough alone
Post Reply