MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

hi! can you tell me how to change default localhost address of MonoX? (Closed) (Mono Support )

Viewed 30291 time(s), 18 post(s) 1/18/2012 8:46:22 PMby in4man
in4man

in4man

1/19/2012 8:38:20 PM
To something like social***.co.cc.
I like that domain, but when I tried open from it MonoX all links point to http://localhost.
Thanks. In advance

UPDATE: Does mono sopprt Apache Hosting? (like mono)
This content has not been rated yet. 
282 Reputation 46 Total posts
in4man

in4man

1/18/2012 8:50:27 PM
remark, not Only all LINKS. only THAT IS SITUATED IN GROUPS DISCUSSION BOARDS.
It's something with rewriting rules, yes?
This content has not been rated yet. 
282 Reputation 46 Total posts
in4man

in4man

1/18/2012 8:53:27 PM
Where I can change addess of DEFAULT ROOT site? It's very important for me. Because I have monoX on IIS on 8080 port. My 80 port - is Apache. And virtual host on some subdomain points (via proxy) to my 8080 port. What can heal this situation? I need rewrite rules or SOMETHING? Please, help.
This content has not been rated yet. 
282 Reputation 46 Total posts
in4man

in4man

1/19/2012 8:39:05 PM
i figured out_ that some manipulation with <UrlRewriter> sections helps, but when i Try open discussion forum of group it ends with MonoX report error file not found.

What i tried write in web.config:
FIRST Lines ARE WHERE I changed TO= condition....
(<URLRewriter> section)

<rewrite url="^(.*)/search/(.*)/(\?(.+))?$" to="social***.co.cc./MonoX/Pages/MonoX/SearchResults.aspx?srchq=$2&$4" name="SiteSearch" urlPattern="/search/{Query}/" />
     <!-- dynamic group rules, can be used regardeless of the actual name of the page that holds group parts -->
     <rewrite url="^(.*)/(.*)/GroupView/(.*)/(.*)/(\?(.+))?$" to="social***.co.cc./$2.aspx?GroupId=$3&$6" name="GroupView" defaultPage="/MonoX/Pages/SocialNetworking/Groups.aspx" urlPattern="/{PageName}/GroupView/{ShortId}/{Slug}/" />
     <rewrite url="^(.*)/(.*)/GroupEdit/(.*)/(.*)/(\?(.+))?$" to="social***.co.cc./$2.aspx?GroupId=$3&EditMode=true&$6" name="GroupEdit" defaultPage="/MonoX/Pages/SocialNetworking/Groups.aspx" urlPattern="/{PageName}/GroupEdit/{ShortId}/{Slug}/" />
     <rewrite url="^(.*)/(.*)/GroupList/(\?(.+))?$" to="$1/$2.aspx$3" name="GroupList" defaultPage="/MonoX/Pages/SocialNetworking/Groups.aspx" urlPattern="/{PageName}/GroupList/" />
     <rewrite url="^(.*)/(.*)/GroupInsert/(\?(.+))?$" to="$1/$2.aspx?InsertMode=true&$4" name="GroupInsert" defaultPage="/MonoX/Pages/SocialNetworking/Groups.aspx" urlPattern="/{PageName}/GroupInsert/" />
     <rewrite url="^(.*)/(.*)/GroupSearch/(.*)/(\?(.+))?$" to="$1/$2.aspx?SearchValue=$3&$5" name="GroupSearch" defaultPage="/MonoX/Pages/SocialNetworking/Groups.aspx" urlPattern="/{PageName}/GroupSearch/{SearchValue}/" />
     <rewrite url="^(.*)/(.*)/GroupSearch/(\?(.+))?$" to="$1/$2.aspx?ShowAllGroups=true&$4" name="GroupSearchShowAll" defaultPage="/MonoX/Pages/SocialNetworking/Groups.aspx" urlPattern="/{PageName}/GroupSearch/" />
     <rewrite url="^(.*)/(.*)/GroupCategory/(.*)/(\?(.+))?$" to="$1/$2.aspx?Category=$3&$5" name="GroupCategory" defaultPage="/MonoX/Pages/SocialNetworking/Groups.aspx" urlPattern="/{PageName}/GroupCategory/{CategorySlug}/" />
This content has not been rated yet. 
282 Reputation 46 Total posts
in4man

in4man

1/18/2012 11:10:58 PM
so undefined that i stall.
(please some one tip me)
This content has not been rated yet. 
282 Reputation 46 Total posts
in4man

in4man

1/18/2012 11:15:29 PM
I thing... That i found the answer. You have (creator of MonoX) to add option in Settings of MonoX like Main Application Path (URL). So else i can't figure out what can help me and this situation.

Please best regards, Sergey In4man
This content has not been rated yet. 
282 Reputation 46 Total posts
khorvat

khorvat

1/19/2012 8:09:35 AM
Hi,

the only thing that you need to do is to change the IIS settings and if you point some domain to the MonoX it will handle everything for you. So can you please provide us with the IIS details (version, you settings etc.) so we can help you a bit more.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
in4man

in4man

1/19/2012 8:40:13 PM
Thanks Khorvat!
But I changed header name in IIS website settings, and now my Apache address is not reachable.

Please see here... www.social***.co.cc.
And here is all working social***.co.cc.:8080
This content has not been rated yet. 
282 Reputation 46 Total posts
khorvat

khorvat

1/20/2012 7:41:18 AM
Hi,

can you please tell us what version of IIS are you using we are in the dark here ? Can you please explain a bit more what exactly you are trying to accomplish ? Switching the domain or registering a new one shouldn't be that complex task in the IIS but to guide you we need more information on the IIS.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
in4man

in4man

1/20/2012 12:54:25 PM
IIS 5.1 XP SP3. And i am have domain on cc. Registered free. Now i'm trieng to assign that domain to IIS localhost.
And now I configured my IIS to listen to 193.123.234.56 ip addres (my global ip) 8080 port. I have apache that runs on 80 port. And i use mod_proxy to redirect from some domain ***.co.cc:80 to ***.co.cc:8080 (the same domains but different ports). So i configured for now to redirect to ip (withoud name of server). I want to redirect to url (***.co.cc). Or even better to configure Redirect (rewrite) in MonoX. To redirect all urls from engine of MonoX to 80 port of (apache.).
I tried doing this with Gnump3d (this is soft for mp3 shoutcasting). And it perfectly works on 80 port, howerer all resourses on it is currently run on 8888 port.

So this is difficult, but I suppose is resolving. How, the question? :)
Thanks in advance.
This content has not been rated yet. 
282 Reputation 46 Total posts
1 2